lsst.pipe.base  20.0.0-7-gb92c176+aa8a99367b
Public Member Functions | List of all members
lsst.pipe.base.argumentParser.ConfigValueAction Class Reference
Inheritance diagram for lsst.pipe.base.argumentParser.ConfigValueAction:

Public Member Functions

def __call__ (self, parser, namespace, values, option_string)
 

Detailed Description

argparse action callback to override config parameters using
name=value pairs from the command-line.

Definition at line 1102 of file argumentParser.py.

Member Function Documentation

◆ __call__()

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 1107 of file argumentParser.py.


The documentation for this class was generated from the following file: