Blob¶
-
class
lsst.verify.Blob(name, **datums)¶ Bases:
lsst.verify.jsonmixin.JsonSerializationMixinBlob is a flexible container of data, as
lsst.verify.Datums, that are serializable to JSON.Parameters: - name :
str Name of this type of blob. Blobs from one pipeline Job execution to another that share the same name generally share the same schema of
lsst.verify.Datums.- datums :
dictoflsst.verify.Datum-types, optional Keys are names of datums. Values are
Datum-types. EachDatumcan be later retrived from the Blob instance by key.
Attributes Summary
identifierUnique UUID4-based identifier for this blob ( str).jsonJob data as a JSON-serializable dict.nameName of this blob ( str).Methods Summary
deserialize([identifier, name, data])Deserialize fields from a blob JSON object into a Blobinstance.items()Get pairs of keys and values in the Blob. keys()Get keys of blob items. Attributes Documentation
Methods Documentation
-
classmethod
deserialize(identifier=None, name=None, data=None)¶ Deserialize fields from a blob JSON object into a
Blobinstance.Parameters: Returns:
-
items()¶ Get pairs of keys and values in the Blob.
Yields: - keyval : tuple
Tuple of:
- key (
str) - datum (
lsst.verify.Datum)
- key (
- name :