Skip to content

Export Python filter function type aliases from package root#1546

Open
jordansilly77-stack wants to merge 1 commit into
pmxt-dev:mainfrom
jordansilly77-stack:fix-python-filter-function-exports
Open

Export Python filter function type aliases from package root#1546
jordansilly77-stack wants to merge 1 commit into
pmxt-dev:mainfrom
jordansilly77-stack:fix-python-filter-function-exports

Conversation

@jordansilly77-stack

Copy link
Copy Markdown
Contributor

Summary

  • export MarketFilterFunction and EventFilterFunction from the Python package root
  • keep __all__ aligned with the imported public model symbols
  • add a public export regression test for the two filter function aliases

Why

Fixes #1464. The TypeScript SDK exposes these filter-function types from the package root, while the Python SDK defines and uses the same aliases internally but does not re-export them from pmxt.

Validation

  • ./sdks/python/.venv/bin/python -m pytest sdks/python/tests/test_public_exports.py -q -> 9 passed
  • ./sdks/python/.venv/bin/python -m pytest sdks/python/tests -q -> 259 passed, 66 deselected

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.

SDK drift: MarketFilterFunction/EventFilterFunction exported from TypeScript package root, absent from Python package root

1 participant