tasks.cli

CLI for validation workflows.

Module Contents

Classes

ArgParser

Class to build parser and parse arguments.

Functions

format_description(param, default_str='{doc} Default value: {default}.', optional_str='(optional) {doc}', type_str='({type}) {doc}', choices_str='{doc} Choices: {choices}.', interval_str='{doc} Permitted values: {interval}.', param_no_value=None)

Format the description of a parameter.

main(arguments=None)

Main function.

tasks.cli.WORKFLOW_TASKS
tasks.cli.LOGGING_LEVELS = ['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']
tasks.cli.LUIGI_PARAMETERS = ['workers', 'local_scheduler', 'log_level']
tasks.cli.format_description(param, default_str='{doc} Default value: {default}.', optional_str='(optional) {doc}', type_str='({type}) {doc}', choices_str='{doc} Choices: {choices}.', interval_str='{doc} Permitted values: {interval}.', param_no_value=None)

Format the description of a parameter.

class tasks.cli.ArgParser

Class to build parser and parse arguments.

property parser(self)

Return the root parser.

parse_args(self, argv)

Parse the arguments, and return a argparse.Namespace object.

tasks.cli.main(arguments=None)

Main function.