morpheus.cli.register_stage

(Latest Version)
class_name_to_command_name(class_name)[source]

compute_option_name(stage_arg_name, rename_options={})[source]

get_doc_kwargs(doc_type_str)[source]

get_param_doc(numpydoc_obj, name)[source]

get_param_type(numpydoc_obj, name)[source]

has_matching_kwargs(function, input_dict)[source]

parse_doc_type_str(doc_type_str)[source]

parse_type_value(value_str)[source]

partial_pop_kwargs(function, input_dict)[source]

Binds any matching kwargs in input_dict to arguments in function. Any that match are popped from the dictionary. Returned value is a functools.partial with matching arguments bound

register_stage(command_name=None, modes=None, ignore_args=[], command_args={}, option_args={}, rename_options={})[source]

set_options_param_type(options_kwargs, annotation, doc_type)[source]

© Copyright 2023, NVIDIA. Last updated on Apr 11, 2023.