morpheus.cli.register_stage
- class_name_to_command_name(class_name)[source]
- compute_option_name(stage_arg_name, rename_options=None)[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=None, command_args=None, option_args=None, rename_options=None)[source]
- set_options_param_type(options_kwargs, annotation, doc_type)[source]