You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Independent validation for the PR-scoped change passed: python3 -m py_compile sdks/python/pmxt/__init__.py sdks/python/pmxt/errors.py and static export checks for NotSupported import/__all__. Current red generated-client/API-reference checks are the repo-wide hosted-client generator drift (running the generator removes hosted-mode client helpers unrelated to this PR), so I did not commit that broad generated drift into this focused fix.
Exports NotSupported from the Python package root so users can import it with from pmxt import NotSupported. This aligns package-root exports with the SDK error surface.
Blast Radius
Python SDK package exports in sdks/python/pmxt/__init__.py only.
Consumer Verification
Before (base branch): NotSupported existed in pmxt.errors but was not imported into package root or listed in __all__.
After (PR branch): sdks/python/pmxt/__init__.py imports NotSupported and includes it in __all__. Changed Python syntax passes py_compile.
Test Results
Build: PASS (npm run build --workspace=pmxt-core)
Core unit tests: PASS (27 suites / 652 tests passed; 1 suite / 3 tests skipped)
Python syntax: PASS (py_compile on changed file)
Full npm test: FAIL in this checkout during Python SDK collection because pmxt_internal / eth_account are not available.
Server starts: N/A (package export only)
E2E smoke: Not run because importing the package root in this checkout is blocked by missing generated pmxt_internal
Findings
No blocking findings.
PMXT Pipeline Check
Field propagation (3-layer): N/A
OpenAPI sync: N/A
Financial precision: N/A
Type safety: OK
Auth safety: N/A
Semver Impact
patch -- additive Python export.
Risk
Runtime import could not be executed in this checkout due missing generated Python package, but the diff is a direct import/export addition.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
NotSupportedfrom the Python package rootNotSupportedinpmxt.__all__for parity with the TypeScript SDK package exportsFixes #985
Test Plan
python3 -m py_compile sdks/python/pmxt/__init__.py sdks/python/pmxt/errors.pyNotSupportedimport and__all__entries insdks/python/pmxt/__init__.pyimport pmxtis blocked in this checkout by missing generatedpmxt_internal, so no package import smoke was run.