Skip to content

fix: Python/TypeScript SDK drift parity sweep#867

Open
realfishsam wants to merge 3 commits into
mainfrom
fix/sdk-drift-parity-sweep
Open

fix: Python/TypeScript SDK drift parity sweep#867
realfishsam wants to merge 3 commits into
mainfrom
fix/sdk-drift-parity-sweep

Conversation

@realfishsam
Copy link
Copy Markdown
Contributor

Summary

  • Align Python SDK exports/types with the TypeScript surface for constructor options, env constants, cluster params, series/trades/order-book params, and matched-cluster aliases.
  • Fix Python behavior drift in error formatting/retryability, paginated totals, subscription snapshot defaults, snake_case param normalization, duplicate unwatch_order_book, and Router.fetch_event_matches URL support.
  • Add the TypeScript ServerManager alias isServerAlive() to match the Python public API naming.

Tests

  • python3 -m py_compile sdks/python/pmxt/ws_client.py sdks/python/pmxt/client.py sdks/python/pmxt/models.py sdks/python/pmxt/errors.py sdks/python/pmxt/constants.py sdks/python/pmxt/router.py sdks/python/pmxt/feed_client.py sdks/python/pmxt/_exchanges.py sdks/python/pmxt/__init__.py sdks/python/tests/test_public_exports.py sdks/python/tests/test_converters.py sdks/python/tests/test_errors.py
  • git diff --check
  • npm test -- --runInBand tests/public-exports.test.ts (blocked in this worktree because the generated client module ../generated/src/index.js is not present)

Fixes

Fixes #851
Fixes #850
Fixes #849
Fixes #848
Fixes #847
Fixes #846
Fixes #845
Fixes #843
Fixes #840
Fixes #839
Fixes #832
Fixes #831
Fixes #805
Fixes #804
Fixes #803
Fixes #802
Fixes #801
Fixes #769
Fixes #768
Fixes #763
Fixes #759
Fixes #755
Fixes #741
Fixes #740
Fixes #739

@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, 12:44 PM

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

Polymarket_us = PolymarketUS
Suibets = SuiBets

from .router import Router as Router
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant