Skip to content

Client.iter_bytes

python
async def Client.iter_bytes(
    asset: Asset,
) -> AsyncIterator[bytes]

Stream an asset as provider-dependent byte chunks.

Parameters

asset Asset

The asset to resolve and stream.

Yields

Byte chunks whose sizes are selected by the storage provider.

Type to search…