def dry_run_from_args(args: argparse.Namespace):
    """
    Just converts from an ``argparse.Namespace`` object to params.
    """
    parameter_path = args.param_path
    serialization_dir = args.serialization_dir
    overrides = args.overrides

    params = Params.from_file(parameter_path, overrides)

    dry_run_from_params(params, serialization_dir)
def dry_run_from_args ( args : argparse . Namespace ) : parameter_path = args . param_path serialization_dir = args . serialization_dir overrides = args . overrides params = Params . from_file ( parameter_path , overrides ) dry_run_from_params ( params , serialization_dir )
Just converts from an ``argparse.Namespace`` object to params.