Remove unnecessary client headers in Python SDK
- 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_headersinpackages/python-sdk/e2b/api/metadata.pyby removingmachine,os,processor, andrelease.- 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.
🦋 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
@mishushakov The "system": platform.system(), still gives us info if it is Windows, Mac, etc., right?
@ValentaTomas correct
https://docs.python.org/3/library/platform.html#platform.system