Task#
- class Task[source]#
Bases:
Config
Orders the rows of a CSV file according to the order given by a reference file
Both files must have the same number of rows, and both must have a column of a given name with the same values, possibly ordered differently.
- ini_strict_sections_: ClassVar[Sequence[str]] = ['reorder_csv']#
Names of additional sections to parse in configuration files, unknown keys error
- ini_relaxed_sections_: ClassVar[Sequence[str]] = ['reorder']#
Names of sections to parse in configuration files, with unknown keys ignored
- config: Sequence[pathlib.Path][Sequence[Path]]#
Use the specified configuration files.
Files can be separated by commas/the command can be invoked multiple times.
- logging_level: LoggingLevel[LoggingLevel]#
Logging level to use
- __init__(config, root, logging_level, column, reference, file)#