Skip to content

AudioBlockDict

Dictionary Type

AudioBlockDict

Bases: TypedDict

Dictionary form of AudioBlock.

Attributes

error instance-attribute
error: ErrorBlock | ErrorBlockDict | None

Error information if the audio block could not be processed or contains invalid data.

format instance-attribute
format: Required[str]

The format of the audio data, such as MP3, WAV, FLAC, or other supported audio formats.

source instance-attribute

The source of the audio data, which can be provided as raw bytes or an S3 location.