Skip to content

Fix mypy handling for pipe enums - #19

Merged
tonywangcn merged 1 commit into
mainfrom
codex/sdk-stub-mypy-20260929
Sep 29, 2026
Merged

tonywangcn merged 1 commit into
mainfrom
codex/sdk-stub-mypy-20260929

Conversation

@tonywangcn

Copy link
Copy Markdown
Member

Summary

  • Generate broad str typing for enum fields containing |, which mypy 1.10.1 misparses inside Literal strings.
  • Regenerate the Python artifacts and cover the Xbox browse stub.

Validation

  • python3 -m unittest discover -s tests (55 tests, 4 skipped)
  • git diff --check

The CI Typecheck usage job is the authoritative full mypy check; the local full check was too slow to complete.

@tonywangcn
tonywangcn merged commit 5e0d7ee into main Sep 29, 2026
3 of 6 checks passed
@tonywangcn
tonywangcn deleted the codex/sdk-stub-mypy-20260929 branch September 29, 2026 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant