|
def | __init__ (self, doc, registry, default=None, optional=False, multi=False) |
|
def | __deepcopy__ (self, memo) |
|
def | __get__ (self, instance, owner=None) |
|
def | __get__ (self, instance, owner=None, at=None, label="default") |
|
def | __set__ (self, instance, value, at=None, label="assignment") |
|
def | rename (self, instance) |
|
def | validate (self, instance) |
|
def | toDict (self, instance) |
|
def | freeze (self, instance) |
|
def | save (self, outfile, instance) |
|
def | __delete__ (self, instance, at=None, label='deletion') |
|
Definition at line 194 of file registry.py.
◆ __init__()
def lsst.pex.config.registry.RegistryField.__init__ |
( |
|
self, |
|
|
|
doc, |
|
|
|
registry, |
|
|
|
default = None , |
|
|
|
optional = False , |
|
|
|
multi = False |
|
) |
| |
◆ __deepcopy__()
def lsst.pex.config.registry.RegistryField.__deepcopy__ |
( |
|
self, |
|
|
|
memo |
|
) |
| |
Customize deep-copying, want a reference to the original registry.
WARNING: this must be overridden by subclasses if they change the
constructor signature!
Definition at line 202 of file registry.py.
◆ __delete__()
def lsst.pex.config.config.Field.__delete__ |
( |
|
self, |
|
|
|
instance, |
|
|
|
at = None , |
|
|
|
label = 'deletion' |
|
) |
| |
|
inherited |
Describe how attribute deletion should occur on the Config instance.
This is invoked by the owning config object and should not be called
directly
Definition at line 344 of file config.py.
◆ __get__() [1/2]
def lsst.pex.config.config.Field.__get__ |
( |
|
self, |
|
|
|
instance, |
|
|
|
owner = None , |
|
|
|
at = None , |
|
|
|
label = "default" |
|
) |
| |
|
inherited |
Define how attribute access should occur on the Config instance
This is invoked by the owning config object and should not be called
directly
When the field attribute is accessed on a Config class object, it
returns the field object itself in order to allow inspection of
Config classes.
When the field attribute is access on a config instance, the actual
value described by the field (and held by the Config instance) is
returned.
Definition at line 287 of file config.py.
◆ __get__() [2/2]
def lsst.pex.config.configChoiceField.ConfigChoiceField.__get__ |
( |
|
self, |
|
|
|
instance, |
|
|
|
owner = None |
|
) |
| |
|
inherited |
◆ __set__()
def lsst.pex.config.configChoiceField.ConfigChoiceField.__set__ |
( |
|
self, |
|
|
|
instance, |
|
|
|
value, |
|
|
|
at = None , |
|
|
|
label = "assignment" |
|
) |
| |
|
inherited |
◆ freeze()
def lsst.pex.config.configChoiceField.ConfigChoiceField.freeze |
( |
|
self, |
|
|
|
instance |
|
) |
| |
|
inherited |
◆ rename()
def lsst.pex.config.configChoiceField.ConfigChoiceField.rename |
( |
|
self, |
|
|
|
instance |
|
) |
| |
|
inherited |
◆ save()
def lsst.pex.config.configChoiceField.ConfigChoiceField.save |
( |
|
self, |
|
|
|
outfile, |
|
|
|
instance |
|
) |
| |
|
inherited |
◆ toDict()
def lsst.pex.config.configChoiceField.ConfigChoiceField.toDict |
( |
|
self, |
|
|
|
instance |
|
) |
| |
|
inherited |
◆ validate()
def lsst.pex.config.configChoiceField.ConfigChoiceField.validate |
( |
|
self, |
|
|
|
instance |
|
) |
| |
|
inherited |
◆ check
lsst.pex.config.config.Field.check |
|
inherited |
◆ default
lsst.pex.config.config.Field.default |
|
inherited |
◆ doc
lsst.pex.config.config.Field.doc |
|
inherited |
◆ dtype
lsst.pex.config.config.Field.dtype |
|
inherited |
◆ instanceDictClass
◆ multi
lsst.pex.config.configChoiceField.ConfigChoiceField.multi |
|
inherited |
◆ optional
lsst.pex.config.config.Field.optional |
|
inherited |
◆ registry
lsst.pex.config.registry.RegistryField.registry |
◆ source
lsst.pex.config.config.Field.source |
|
inherited |
◆ supportedTypes
lsst.pex.config.config.Field.supportedTypes = set((str, unicode, basestring, oldStringType, bool, float, int, complex)) |
|
staticinherited |
◆ typemap
lsst.pex.config.configChoiceField.ConfigChoiceField.typemap |
|
inherited |
The documentation for this class was generated from the following file: