BlobSet¶
- 
class lsst.verify.BlobSet(blobs=None)¶
- Bases: - lsst.verify.jsonmixin.JsonSerializationMixin- A collection of - Blobs.- Parameters: - blobs : listoflsst.verify.Blobs
- Blobs to include in the set. 
 - Attributes Summary - json- A - dictthat can be serialized as JSON.- Methods Summary - deserialize([blobs])- Create a BlobSet from a parsed JSON dataset. - insert(blob)- Insert a blob into the set. - items()- Iterate over (identifier, - Blob) pairs in the set.- keys()- Get a sequence of blob identifiers, which are keys to the BlobSet. - Attributes Documentation - Methods Documentation - 
classmethod deserialize(blobs=None)¶
- Create a BlobSet from a parsed JSON dataset. - Parameters: - blobs : list, optional
- A list of blob JSON serializations. 
 - Returns: 
- blobs : 
 - 
insert(blob)¶
- Insert a blob into the set. - Parameters: - blob : Blob
- Blobto insert into the set. It can be accessed by key from the BlobSet through its- Blob.identifierstring.
 
- blob : 
 - 
items()¶
- Iterate over (identifier, - Blob) pairs in the set.- Yields: - item : tuple
- Tuple containing: - Blob.identifierof the- Blob(- str)
- Blobinstance
 
 
- item : 
 - 
keys()¶
- Get a sequence of blob identifiers, which are keys to the BlobSet. - Returns: - keys : sequence of str
- Sequence of - Blob.identifier.
 
- keys : sequence of 
 
- blobs :