Conversation
PR SummaryLow Risk Overview Typing refactor: changes Written by Cursor Bugbot for commit b40181c. This will update automatically on new commits. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Minimum typing-extensions version too low for extra_items
- Updated the package dependency constraint to typing-extensions>=4.13 so TypedDict(extra_items=...) is supported at import time.
Or push these changes by commenting:
@cursor push 4d33f509c1
Preview (4d33f509c1)
diff --git a/pyproject.toml b/pyproject.toml
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,7 +11,7 @@
dependencies = [
"httpx>=0.23.0, <1",
"pydantic>=1.9.0, <3",
- "typing-extensions>=4.10, <5",
+ "typing-extensions>=4.13, <5",
"anyio>=3.5.0, <5",
"distro>=1.7.0, <2",
"sniffio",|
|
||
|
|
||
| class ReasoningTyped(TypedDict, total=False): | ||
| class Reasoning(TypedDict, total=False, extra_items=object): # type: ignore[call-arg] |
There was a problem hiding this comment.
Minimum typing-extensions version too low for extra_items
High Severity
The extra_items=object class parameter on TypedDict (PEP 728) was only added to typing_extensions in version 4.13.0 (March 2025). However, pyproject.toml declares typing-extensions>=4.10, <5. Users who install typing_extensions 4.10–4.12 will get a TypeError at import time because older TypedDict does not accept the extra_items keyword argument. The dev lockfile pins 4.15.0, masking this in CI.



Automated Release PR
0.3.1 (2026-03-06)
Full Changelog: v0.3.0...v0.3.1
Refactors
extra_itemsfrom PEP 728 (de6e4e4)This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions