Fix naming

This commit is contained in:
Christian Wolf 2022-12-03 14:30:20 +01:00
parent 15982a4ac0
commit b3fc7db0b6
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ import os
import logging import logging
import re import re
from pprint import pformat from pprint import pformat
from .types import ResultRow from .types import CSVResultRow as ResultRow
class CSVResultReader: class CSVResultReader:
def __init__(self, fileName: str): def __init__(self, fileName: str):

View File

@ -1,5 +1,5 @@
class ResultRow: class CSVResultRow:
def __init__(self, firstName, lastName, club, id, group, class_, dance, place, placeTo, competitionGroup, competitionClass): def __init__(self, firstName, lastName, club, id, group, class_, dance, place, placeTo, competitionGroup, competitionClass):
self.firstName = firstName self.firstName = firstName
self.lastName = lastName self.lastName = lastName
@ -20,6 +20,6 @@ class ResultRow:
class State4: class State4:
def __init__( def __init__(
self, self,
csvRows: list[ResultRow] csvRows: list[CSVResultRow]
): ):
self.csvRows = csvRows self.csvRows = csvRows