(self)
return value
Get a dictionary of BlobMetaRef objects keyed by attachment name

        Includes CouchDB attachments if `_migrating_blobs_from_couch` is true.
        The returned value should not be mutated.
Get a dictionary of BlobMetaRef objects keyed by attachment name
Get a dictionary of BlobMetaRef objects keyed by attachment name
def blobs(self):
        """Get a dictionary of BlobMetaRef objects keyed by attachment name

        Includes CouchDB attachments if `_migrating_blobs_from_couch` is true.
        The returned value should not be mutated.
        """
        if not self._migrating_blobs_from_couch or not self._attachments:
            return self.external_blobs
        value = {name: BlobMetaRef._from_attachment(info)
            for name, info in self._attachments.items()}
        value.update(self.external_blobs)
        return value
def blobs ( self ) : if not self . _migrating_blobs_from_couch or not self . _attachments : return self . external_blobs value = { name : BlobMetaRef . _from_attachment ( info ) for name , info in self . _attachments . items ( ) } value . update ( self . external_blobs ) return value