rlt_migration.reader.input_dataset_definition module#
- rlt_migration.reader.input_dataset_definition.check_header(input_file: Path, header: list[str]) None #
Check header
- Paramètres:
input_file (Path) – input csv file
header (list[str]) – header
- Lève:
InvalidHeader – Header is invalid
- rlt_migration.reader.input_dataset_definition.read_dataset_from_csv(input_file: Path) [<class 'rlt_migration.models.dataset.Dataset'>] #
Read dataset from a csv file
- Paramètres:
input_file (Path) – input csv file
- Lève:
InvalidHeader – Header is invalid
- Renvoie:
datasets in file
- Type renvoyé:
[Dataset]
- rlt_migration.reader.input_dataset_definition.read_old_dataset_from_csv(input_file: Path) [<class 'rlt_migration.models.dataset.OldDataset'>] #
Read old dataset from a csv file
- Paramètres:
input_file (Path) – input csv file
- Lève:
InvalidHeader – Header is invalid
- Renvoie:
datasets in file
- Type renvoyé: