Skip to content

fix(python): tighten SDK type annotations#868

Open
realfishsam wants to merge 5 commits into
mainfrom
hermes/hermes-e662bf7f
Open

fix(python): tighten SDK type annotations#868
realfishsam wants to merge 5 commits into
mainfrom
hermes/hermes-e662bf7f

Conversation

@realfishsam
Copy link
Copy Markdown
Contributor

Summary\n- Add explicit -> None return annotations to Python SDK constructors and helpers flagged by the type audit\n- Tighten a few loose Python annotations in the client/router layers\n- Regenerate the generated exchange wrappers so the constructor annotations and signature_type type stay in sync with the generator\n\n## Tests\n- python3 -m py_compile sdks/python/pmxt/__init__.py sdks/python/pmxt/errors.py sdks/python/pmxt/server_manager.py sdks/python/pmxt/ws_client.py sdks/python/pmxt/router.py sdks/python/pmxt/client.py sdks/python/pmxt/_exchanges.py\n- node --check core/scripts/generate-python-exchanges.js\n\nFixes #733\nFixes #732\nFixes #731\nFixes #730\nFixes #729\nFixes #728\nFixes #691\nFixes #692\nFixes #564

@mintlify
Copy link
Copy Markdown

mintlify Bot commented Jun 5, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
PMXT 🟢 Ready View Preview Jun 5, 2026, 2:25 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

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