Class BlobAsset (3.5.0)

BlobAsset(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a blob asset. It's used to store the content of the inline blob in this document, e.g. image bytes, such that it can be referenced by other fields in the document via asset id.

Attributes

Name Description
asset_id str
Optional. The id of the blob asset.
content bytes
Optional. The content of the blob asset, e.g. image bytes.
mime_type str
The mime type of the blob asset. An IANA published `media type (MIME type)