lsst.pipe.base  13.0-14-g8b3bf66+1
 All Classes Namespaces Files Functions Variables Pages
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__
 

Detailed Description

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

Definition at line 967 of file argumentParser.py.

Member Function Documentation

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


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