E2B icon indicating copy to clipboard operation
E2B copied to clipboard

Remove unnecessary client headers in Python SDK

Open mishushakov opened this issue 2 months ago • 3 comments

  • removed machine, os, processor, release default headers (these do not occur in the JS version)
  • particularly, "processor" header was causing issues on Windows due to incorrect formatting/escape.

[!NOTE] Removes unnecessary default headers from the Python SDK API client and adds a patch changeset.

  • Python SDK:
    • Trim default_headers in packages/python-sdk/e2b/api/metadata.py by removing machine, os, processor, and release.
  • Release:
    • Add changeset to publish a patch for @e2b/python-sdk.

Written by Cursor Bugbot for commit 9a5ef769ee2eb0b9a05649c20a00dfd507984931. This will update automatically on new commits. Configure here.

mishushakov avatar Nov 12 '25 15:11 mishushakov

🦋 Changeset detected

Latest commit: 97a39a0cdcd96380592520ddddcca4b5b470ed85

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@e2b/python-sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Nov 12 '25 15:11 changeset-bot[bot]

@mishushakov The "system": platform.system(), still gives us info if it is Windows, Mac, etc., right?

ValentaTomas avatar Nov 12 '25 18:11 ValentaTomas

@ValentaTomas correct

https://docs.python.org/3/library/platform.html#platform.system

mishushakov avatar Nov 13 '25 01:11 mishushakov