fix: export Python websocket return types#511
Conversation
PR Review: PASS (NOT VERIFIED)What This DoesFixes #461 by exporting Blast Radius
Test Results
Findings
PMXT Pipeline Check
Semver Impactminor -- The Risk
|
|
Good catch on the Python class rename. I added a backwards-compatible Polymarket_us = PolymarketUS alias, kept it exported from pmxt.all, and updated the Python exchange generator so a future regen preserves the alias instead of dropping it. I also extended est_public_exports.py to cover that alias and reran python -m pytest sdks/python/tests/test_public_exports.py. |
5162176 to
01094d5
Compare
Fixes #461
Changes
FirehoseEventandSubscribedAddressSnapshotfrom the Python package entry pointmainpasses the exchange/generator checksVerification
python -m pytest sdks/python/tests/test_public_exports.pypython -m py_compile sdks/python/pmxt/__init__.py sdks/python/pmxt/models.py sdks/python/tests/test_public_exports.pynode core/scripts/check-exchange-drift.jsnode sdks/typescript/scripts/generate-client-methods.js; git diff --exit-code sdks/typescript/pmxt/client.tsnode sdks/python/scripts/generate-client-methods.js; git diff --exit-code sdks/python/pmxt/client.pynpx tsc -p core/tsconfig.json --noEmitgit diff --check