This is documentation for an unreleased version. For the latest API, see version 3.3.
Version: Next
SupportsRead
A file-like object that is not an io.IOBase stream, read whole with a single read() call.
Its result is sent as one chunk, so the source is held in memory whole and gets a single attempt. An io.IOBase
stream, such as an open file or an io.BytesIO, is read in chunks instead. An async def read, as aiofiles
provides, is accepted by ApifyClientAsync.
A file-like object that is not an
io.IOBasestream, read whole with a singleread()call.Its result is sent as one chunk, so the source is held in memory whole and gets a single attempt. An
io.IOBasestream, such as an open file or anio.BytesIO, is read in chunks instead. Anasync def read, asaiofilesprovides, is accepted byApifyClientAsync.