Metadata¶
-
class
lsst.verify.
Metadata
(measurement_set, data=None)¶ Bases:
lsst.verify.jsonmixin.JsonSerializationMixin
Container for verification framework job metadata.
Metadata are key-value terms. Both keys and values should be JSON-serializable.
Parameters: - measurement_set :
lsst.verify.MeasurementSet
, optional When provided, metadata with keys prefixed by metric names are deferred to
Metadata
instances attached to measurements (lsst.verify.Measurement.notes
).- data :
dict
, optional Dictionary to seed metadata.
Attributes Summary
json
A dict
that can be serialized as semantic SQUASH JSON.Methods Summary
items
()Iterate over key-value metadata pairs. keys
()Get a list
of metadata keys.update
(data)Update metadata with key-value pairs from a dict
-like object.Attributes Documentation
-
json
¶ A
dict
that can be serialized as semantic SQUASH JSON.Keys in the
dict
are metadata keys (seeMetadata.keys
). Values are the associated metadata values as JSON-serializable objects.
Methods Documentation
-
items
()¶ Iterate over key-value metadata pairs.
Yields:
- measurement_set :