Task#

class Task[source]#

Bases: Config

Task(config: typing_extensions.Annotated[Sequence[pathlib.Path], Param(help=None, short_flag_name=None, long_flag_name=<Derived.KEBAB_CASE: 3>, parser=_SeparatedBy(item=_FromFunctionThatRaises(fun=<class ‘pathlib.Path’>, catch=()), sep=’,’, strip=True, remove_empty=True), is_config=True, is_root_path=False, collector=<configpile.collector.Collector.append.<locals>._Append object at 0x7f0633f9c250>, default_value=None, name=None, positional=None, config_key_name=None, env_var_name=’RASSINE_CONFIG’)], root: typing_extensions.Annotated[pathlib.Path, Param(help=None, short_flag_name=None, long_flag_name=<Derived.KEBAB_CASE: 3>, parser=_FromFunctionThatRaises(fun=<class ‘pathlib.Path’>, catch=()), is_config=False, is_root_path=True, collector=<configpile.collector.Collector.keep_last.<locals>._KeepLast object at 0x7f0633c64250>, default_value=None, name=None, positional=None, config_key_name=None, env_var_name=’RASSINE_ROOT’)], input1: typing_extensions.Annotated[pathlib.Path, Param(help=None, short_flag_name=None, long_flag_name=None, parser=_FromFunctionThatRaises(fun=<class ‘pathlib.Path’>, catch=()), is_config=False, is_root_path=False, collector=<configpile.collector.Collector.keep_last.<locals>._KeepLast object at 0x7f0633c643a0>, default_value=None, name=None, positional=<Positional.ONCE: 1>, config_key_name=<Derived.KEBAB_CASE: 3>, env_var_name=None)], input2: typing_extensions.Annotated[pathlib.Path, Param(help=None, short_flag_name=None, long_flag_name=None, parser=_FromFunctionThatRaises(fun=<class ‘pathlib.Path’>, catch=()), is_config=False, is_root_path=False, collector=<configpile.collector.Collector.keep_last.<locals>._KeepLast object at 0x7f0633c645e0>, default_value=None, name=None, positional=<Positional.ONCE: 1>, config_key_name=<Derived.KEBAB_CASE: 3>, env_var_name=None)], key: typing_extensions.Annotated[str, Param(help=None, short_flag_name=None, long_flag_name=<Derived.KEBAB_CASE: 3>, parser=_FromFunction(fun=<function <lambda> at 0x7f0638222f70>), is_config=False, is_root_path=False, collector=<configpile.collector.Collector.keep_last.<locals>._KeepLast object at 0x7f0633c64790>, default_value=’’, name=None, positional=None, config_key_name=<Derived.KEBAB_CASE: 3>, env_var_name=None)])

prog_: ClassVar[Optional[str]] = 'pickle_compare'#

Program name

ini_strict_sections_: ClassVar[Sequence[str]] = ['pickle_compare']#

Names of additional sections to parse in configuration files, unknown keys error

ini_relaxed_sections_: ClassVar[Sequence[str]] = ['pickle']#

Names of sections to parse in configuration files, with unknown keys ignored

env_prefix_: ClassVar[str] = 'RASSINE'#

Prefix for automatically derived environment variable names

config: Sequence[pathlib.Path][Sequence[Path]]#

Use the specified configuration files.

Files can be separated by commas/the command can be invoked multiple times.

root: Path[Path]#

Root path of the data, used as a base for other relative paths

input1: Path[Path]#

First pickle to compare

input2: Path[Path]#

Second pickle to compare

key: str[str]#

Subdico to inspect, several keys may be separated by dots

__init__(config, root, input1, input2, key)#