ConfigValueAction¶
- class lsst.pipe.base.ConfigValueAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)¶
Bases:
Actionargparse action callback to override config parameters using name=value pairs from the command-line.
Methods Summary
__call__(parser, namespace, values, ...)Override one or more config name value pairs.
Methods Documentation
- __call__(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.configattribute is updated.- values
list A list of
configItemName=valuepairs.- option_string
str Option value specified by the user.
- parser