chore(python-sdk): mark packages as typed (PEP 561)#1363
Conversation
Add empty py.typed markers to the e2b and e2b_connect packages so mypy/Pyright honor the inline annotations instead of treating imports as Any. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: a1cce8b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
PR SummaryLow Risk Overview Includes a patch changeset for Reviewed by Cursor Bugbot for commit a1cce8b. Bugbot is set up for automated code reviews on this repo. Configure here. |
Package ArtifactsBuilt from 087e52d. Download artifacts from this workflow run. JS SDK ( npm install ./e2b-2.27.1-mishushakov-python-untyped-packages.0.tgzCLI ( npm install ./e2b-cli-2.10.3-mishushakov-python-untyped-packages.0.tgzPython SDK ( pip install ./e2b-2.25.0+mishushakov.python.untyped.packages-py3-none-any.whl |
Summary
Add empty
py.typedmarkers to thee2bande2b_connectpackages so mypy/Pyright honor the inline annotations onSandbox,AsyncSandbox, and other public APIs instead of treating imports asAny. Includes a patch changeset for@e2b/python-sdk.Test plan
pip installthe built wheel in a fresh env and confirmmypyno longer reportse2bas untyped without--follow-untyped-imports.🤖 Generated with Claude Code