LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
◆ dt_constructor()
def lsst.daf.base.yaml.dt_constructor |
( |
|
loader, |
|
|
|
node |
|
) |
| |
Construct an lsst.daf.base.DateTime from an ISO8601-formatted string in
TAI
Definition at line 96 of file yaml.py.
97 """Construct an lsst.daf.base.DateTime from an ISO8601-formatted string in
99 dt = loader.construct_scalar(node)
100 return DateTime(str(dt), DateTime.TAI)
◆ dt_representer()
def lsst.daf.base.yaml.dt_representer |
( |
|
dumper, |
|
|
|
data |
|
) |
| |
Represent an lsst.daf.base.DateTime (as ISO8601-formatted string in TAI)
Definition at line 55 of file yaml.py.
56 """Represent an lsst.daf.base.DateTime (as ISO8601-formatted string in TAI)
58 return dumper.represent_scalar(
'lsst.daf.base.DateTime',
59 data.toString(DateTime.TAI))
◆ pl_constructor()
def lsst.daf.base.yaml.pl_constructor |
( |
|
loader, |
|
|
|
node |
|
) |
| |
Construct an lsst.daf.base.PropertyList from a YAML pickle-like
structure.
Definition at line 103 of file yaml.py.
104 """Construct an lsst.daf.base.PropertyList from a YAML pickle-like
108 state = loader.construct_sequence(node, deep=
True)
◆ pl_representer()
def lsst.daf.base.yaml.pl_representer |
( |
|
dumper, |
|
|
|
data |
|
) |
| |
Represent an lsst.daf.base.PropertyList as an ordered sequence of
name/type/value/comment lists)
Definition at line 66 of file yaml.py.
67 """Represent an lsst.daf.base.PropertyList as an ordered sequence of
68 name/type/value/comment lists)"""
71 return dumper.represent_sequence(
'lsst.daf.base.PropertyList', result,
◆ ps_constructor()
def lsst.daf.base.yaml.ps_constructor |
( |
|
loader, |
|
|
|
node |
|
) |
| |
Construct an lsst.daf.base.PropertyList from a YAML pickle-like
structure.
Definition at line 112 of file yaml.py.
113 """Construct an lsst.daf.base.PropertyList from a YAML pickle-like
117 state = loader.construct_sequence(node, deep=
True)
◆ ps_representer()
def lsst.daf.base.yaml.ps_representer |
( |
|
dumper, |
|
|
|
data |
|
) |
| |
Represent an lsst.daf.base.PropertySet as a mapping from names to
type/value pairs.
Definition at line 79 of file yaml.py.
80 """Represent an lsst.daf.base.PropertySet as a mapping from names to
84 return dumper.represent_sequence(
'lsst.daf.base.PropertySet', result,
◆ dt_constructor
lsst.daf.base.yaml.dt_constructor |
◆ Loader
lsst.daf.base.yaml.Loader |
◆ loaderList
list lsst.daf.base.yaml.loaderList = [] |
◆ pl_constructor
lsst.daf.base.yaml.pl_constructor |
◆ ps_constructor
lsst.daf.base.yaml.ps_constructor |
◆ yaml
lsst.daf.base.yaml.yaml = None |
def dt_constructor(loader, node)
def setPropertyListState(container, state)
def setPropertySetState(container, state)
def pl_representer(dumper, data)
def dt_representer(dumper, data)
def getPropertySetState(container, asLists=False)
def ps_constructor(loader, node)
def getPropertyListState(container, asLists=False)
def pl_constructor(loader, node)
def ps_representer(dumper, data)