LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | Private Attributes | List of all members
lsst.pex.config.registry.ConfigurableWrapper Class Reference
Inheritance diagram for lsst.pex.config.registry.ConfigurableWrapper:

Public Member Functions

def __init__
 
def __call__
 

Public Attributes

 ConfigClass
 

Private Attributes

 _target
 

Detailed Description

A wrapper for configurables

Used for configurables that don't contain a ConfigClass attribute,
or contain one that is being overridden.

Definition at line 30 of file registry.py.

Constructor & Destructor Documentation

def lsst.pex.config.registry.ConfigurableWrapper.__init__ (   self,
  target,
  ConfigClass 
)

Definition at line 36 of file registry.py.

36 
37  def __init__(self, target, ConfigClass):
38  self.ConfigClass = ConfigClass
39  self._target = target

Member Function Documentation

def lsst.pex.config.registry.ConfigurableWrapper.__call__ (   self,
  args,
  kwargs 
)

Definition at line 40 of file registry.py.

40 
41  def __call__(self, *args, **kwargs):
42  return self._target(*args, **kwargs)
43 

Member Data Documentation

lsst.pex.config.registry.ConfigurableWrapper._target
private

Definition at line 38 of file registry.py.

lsst.pex.config.registry.ConfigurableWrapper.ConfigClass

Definition at line 37 of file registry.py.


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