async def Client.read_bytes( asset: Asset, *, max_bytes: int | None = None,) -> bytesRead an entire asset into memory.
Parameters
Section titled “Parameters”asset Asset The asset to resolve and read.
max_bytes int | None An optional maximum accepted object size in bytes.
Returns
Section titled “Returns”The complete object contents as bytes.