lsst.pipe.base
21.0.0-10-g560fb7b+6deed7dcb5
|
Public Member Functions | |
def | __call__ (self, parser, namespace, values, option_string) |
argparse action callback to override config parameters using name=value pairs from the command-line.
Definition at line 1107 of file argumentParser.py.
def lsst.pipe.base.argumentParser.ConfigValueAction.__call__ | ( | self, | |
parser, | |||
namespace, | |||
values, | |||
option_string | |||
) |
Override one or more config name value pairs. Parameters ---------- parser : `argparse.ArgumentParser` Argument parser. namespace : `argparse.Namespace` Parsed command. The ``namespace.config`` attribute is updated. values : `list` A list of ``configItemName=value`` pairs. option_string : `str` Option value specified by the user.
Definition at line 1112 of file argumentParser.py.