From b3fc7db0b605861025b5149411f4af295fdc6c57 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Sat, 3 Dec 2022 14:30:20 +0100 Subject: [PATCH] Fix naming --- src/solo_turnier/reader.py | 2 +- src/solo_turnier/types.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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