ConfigFileAction¶
-
class
lsst.pipe.base.
ConfigFileAction
(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]¶ Bases:
argparse.Action
argparse action to load config overrides from one or more files.
Methods Summary
__call__
(parser, namespace, values[, ...])Load one or more files of config overrides. Methods Documentation
-
__call__
(parser, namespace, values, option_string=None)[source]¶ Load one or more files of config overrides.
Parameters: parser :
argparse.ArgumentParser
Argument parser.
namespace :
argparse.Namespace
Parsed command. The following attributes are updated by this method:
namespace.config
.values :
list
A list of data config file paths.
option_string :
str
, optionalOption value specified by the user.
-