Module contents

datumaro.cli.util.add_subparser(subparsers, name, builder)[source]
class datumaro.cli.util.MultilineFormatter(keep_natural=False, **kwargs)[source]

Bases: argparse.HelpFormatter

Keeps line breaks introduced with ‘|n’ separator and spaces introduced with ‘|s’.

__init__(keep_natural=False, **kwargs)[source]
datumaro.cli.util.required_count(nmin=0, nmax=0)[source]
datumaro.cli.util.at_least(n)[source]
datumaro.cli.util.join_cli_args(args: argparse.Namespace, *names: Iterable[str]) List[source]

Merges arg values in a list

datumaro.cli.util.show_video_import_warning()[source]