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.
1387 """Create a `~lsst.pex.config.Config` from a stream.
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.
1399 config : `lsst.pex.config.Config`
1404 lsst.pex.config.Config.loadFromStream
1407 config.loadFromStream(stream)