Skip to content

ByteContentDocDict

Dictionary Type

ByteContentDocDict

Bases: TypedDict

Dictionary form of ByteContentDoc.

Attributes

content_type instance-attribute
content_type: Required[str]

The MIME type of the document contained in the wrapper object.

data instance-attribute
data: Required[bytes]

The byte value of the file to upload, encoded as a Base-64 string.

identifier instance-attribute
identifier: Required[str]

The file name of the document contained in the wrapper object.