diff --git a/src/solo_turnier/reader.py b/src/solo_turnier/reader.py index 9a77093..d139a22 100644 --- a/src/solo_turnier/reader.py +++ b/src/solo_turnier/reader.py @@ -5,7 +5,7 @@ import os import logging import re from pprint import pformat -from .types import ResultRow +from .types import CSVResultRow as ResultRow class CSVResultReader: def __init__(self, fileName: str): diff --git a/src/solo_turnier/types.py b/src/solo_turnier/types.py index 0cfddbd..8f2baaf 100644 --- a/src/solo_turnier/types.py +++ b/src/solo_turnier/types.py @@ -1,5 +1,5 @@ -class ResultRow: +class CSVResultRow: def __init__(self, firstName, lastName, club, id, group, class_, dance, place, placeTo, competitionGroup, competitionClass): self.firstName = firstName self.lastName = lastName @@ -20,6 +20,6 @@ class ResultRow: class State4: def __init__( self, - csvRows: list[ResultRow] + csvRows: list[CSVResultRow] ): self.csvRows = csvRows