Skip to content

ResourceContent

Structure Class

ResourceContent dataclass

Bases: _SerdeShape

Contains information about resource content.

Attributes

blob class-attribute instance-attribute
blob: bytes | None = ...

The binary resource content.

mime_type class-attribute instance-attribute
mime_type: str | None = ...

The MIME type of the resource content.

text class-attribute instance-attribute
text: str | None = ...

The text resource content.

type instance-attribute
type: str

The type of resource content.

uri class-attribute instance-attribute
uri: str | None = ...

The URI of the resource content.