datumaro.cli.commands.require_project.modification.add#

Functions

add_command(args)

build_parser([parser_ctor])

get_sensitive_args()

datumaro.cli.commands.require_project.modification.add.build_parser(parser_ctor=<class 'argparse.ArgumentParser'>)[source]#
datumaro.cli.commands.require_project.modification.add.get_sensitive_args()[source]#
exception datumaro.cli.commands.require_project.modification.add.CliException[source]#

Bases: DatumaroError

class datumaro.cli.commands.require_project.modification.add.MultilineFormatter(keep_natural=False, **kwargs)[source]#

Bases: HelpFormatter

Keeps line breaks introduced with ‘|n’ separator and spaces introduced with ‘|s’, also removes the ‘code-block’ directives.

exception datumaro.cli.commands.require_project.modification.add.ProjectNotFoundError(path)[source]#

Bases: DatumaroError

Method generated by attrs for class ProjectNotFoundError.

path#
datumaro.cli.commands.require_project.modification.add.add_command(args)[source]#
datumaro.cli.commands.require_project.modification.add.join_cli_args(args: Namespace, *names: Iterable[str]) List[source]#

Merges arg values in a list

datumaro.cli.commands.require_project.modification.add.load_project(project_dir, readonly=False)[source]#

load a Project.

datumaro.cli.commands.require_project.modification.add.on_error_do(callback, *args, ignore_errors=False, kwargs=None)[source]#
datumaro.cli.commands.require_project.modification.add.scope_add(cm: ContextManager[T]) T[source]#
datumaro.cli.commands.require_project.modification.add.scoped(func, arg_name=None)[source]#

A function decorator, which allows to do actions with the current scope, such as registering error and exit callbacks and context managers.

datumaro.cli.commands.require_project.modification.add.show_video_import_warning()[source]#