LSSTApplications  20.0.0
LSSTDataManagementBasePackage
Classes | Functions
pex.config.config Namespace Reference

Classes

class  Config
 
class  ConfigMeta
 
class  Field
 
class  FieldValidationError
 
class  RecordingImporter
 

Functions

def unreduceConfig (cls, stream)
 

Function Documentation

◆ unreduceConfig()

def pex.config.config.unreduceConfig (   cls,
  stream 
)
Create a `~lsst.pex.config.Config` from a stream.

Parameters
----------
cls : `lsst.pex.config.Config`-type
    A `lsst.pex.config.Config` type (not an instance) that is instantiated
    with configurations in the ``stream``.
stream : file-like object, `str`, or compiled string
    Stream containing configuration override code.

Returns
-------
config : `lsst.pex.config.Config`
    Config instance.

See also
--------
lsst.pex.config.Config.loadFromStream

Definition at line 1386 of file config.py.

1386 def unreduceConfig(cls, stream):
1387  """Create a `~lsst.pex.config.Config` from a stream.
1388 
1389  Parameters
1390  ----------
1391  cls : `lsst.pex.config.Config`-type
1392  A `lsst.pex.config.Config` type (not an instance) that is instantiated
1393  with configurations in the ``stream``.
1394  stream : file-like object, `str`, or compiled string
1395  Stream containing configuration override code.
1396 
1397  Returns
1398  -------
1399  config : `lsst.pex.config.Config`
1400  Config instance.
1401 
1402  See also
1403  --------
1404  lsst.pex.config.Config.loadFromStream
1405  """
1406  config = cls()
1407  config.loadFromStream(stream)
1408  return config
lsst::afw::geom.transform.transformContinued.cls
cls
Definition: transformContinued.py:33
pex.config.config.unreduceConfig
def unreduceConfig(cls, stream)
Definition: config.py:1386