args_kwargs_to_dictionary#
- petpal.meta.auto_cli.args_kwargs_to_dictionary(args: argparse.Namespace) dict#
Convert Namespace to dictionary and reassign keyword arguments to dictionary values.
- Parameters:
args (argparse.Namespace) – The args resulting from parsing command line arguments.
- Returns:
call_eval (dict) –
- Dictionary with arguments and keyword arguments from inspecting the class
__call__ function.