Skip to content

@e2b/python-sdk@2.45.1

Choose a tag to compare

@github-actions github-actions released this 21 Aug 15:09
· 24 commits to main since this release

Patch Changes

  • b17b726: Stop the shared retrying transports from mirroring streamed request bodies in
    memory. pyqwest's retry middleware keeps a non-bytes body replayable by
    copying it as it is sent, so a streamed files.write of a file-like object or
    volume.write_file grew a full in-RAM mirror and peak memory scaled with file
    size. The transports now declare pyqwest's RetryMode.UNBUFFERED: a streamed
    body is replayed only while nothing has been read from it, which is all the
    SDK's connect-only retry policy needs — a ConnectionError is raised only
    before the request was written. Connect retries are unchanged, and bytes
    bodies (unary RPC payloads, in-memory writes) were already replayable without
    a copy.