DNode
- class roman_datamodels.stnode.DNode(node=None, parent=None, name=None)[source]
Bases:
MutableMappingBase class describing all “object” (dict-like) data nodes for STNode classes.
Methods Summary
copy()Handle copying of the node
to_flat_dict([include_arrays, recursive])Returns a dictionary of all of the schema items as a flat dictionary.
Methods Documentation
- to_flat_dict(include_arrays=True, recursive=False)[source]
Returns a dictionary of all of the schema items as a flat dictionary.
Each dictionary key is a dot-separated name. For example, the schema element
meta.observation.datewill end up in the dictionary as:{ "meta.observation.date": "2012-04-22T03:22:05.432" }