lsst.pipe.base  13.0-12-gaf0c0ec+8
Public Member Functions | List of all members
lsst.pipe.base.argumentParser.ConfigValueAction Class Reference

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

Inheritance diagram for lsst.pipe.base.argumentParser.ConfigValueAction:

Public Member Functions

def __call__ (self, parser, namespace, values, option_string)
 Override one or more config name value pairs. More...
 

Detailed Description

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

Definition at line 827 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
[in]parserargument parser (instance of ArgumentParser)
[in,out]namespaceparsed command (an instance of argparse.Namespace); updated values:
  • namespace.config
[in]valuesa list of configItemName=value pairs
[in]option_stringoption value specified by the user (a str)

Definition at line 831 of file argumentParser.py.


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