Task#
- class Task[source]#
Bases:
Config
Task(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 0x7f0633ff7e20>, 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 0x7f0633ff7df0>, default_value=None, name=None, positional=<Positional.ONCE: 1>, config_key_name=<Derived.KEBAB_CASE: 3>, env_var_name=None)], kind: typing_extensions.Annotated[Literal[‘output’, ‘matching_anchors’, ‘matching_diff’], Param(help=None, short_flag_name=None, long_flag_name=<Derived.KEBAB_CASE: 3>, parser=_Choices(mapping={‘output’: ‘output’, ‘matching_anchors’: ‘matching_anchors’, ‘matching_diff’: ‘matching_diff’}, strip=True, force_case=<ForceCase.NO_CHANGE: 0>, aliases={}), is_config=False, is_root_path=False, collector=<configpile.collector.Collector.keep_last.<locals>._KeepLast object at 0x7f0633ff7fd0>, default_value=None, name=None, positional=None, config_key_name=<Derived.KEBAB_CASE: 3>, env_var_name=None)], threshold: typing_extensions.Annotated[float, Param(help=None, short_flag_name=None, long_flag_name=<Derived.KEBAB_CASE: 3>, parser=_FromFunctionThatRaises(fun=<class ‘float’>, catch=()), is_config=False, is_root_path=False, collector=<configpile.collector.Collector.keep_last.<locals>._KeepLast object at 0x7f063444b490>, default_value=’0.005’, name=None, positional=None, config_key_name=<Derived.KEBAB_CASE: 3>, env_var_name=None)])
- ini_strict_sections_: ClassVar[Sequence[str]] = ['compare_normalized_output']#
Names of additional sections to parse in configuration files, unknown keys error
- ini_relaxed_sections_: ClassVar[Sequence[str]] = ['compare']#
Names of sections to parse in configuration files, with unknown keys ignored
- kind: Literal['output', 'matching_anchors', 'matching_diff'][~typing.Literal['output', 'matching_anchors', 'matching_diff']]#
Kind of output to compare
- __init__(input1, input2, kind, threshold)#