fix(python-sdk): export feed client support types#1172
Conversation
|
CI is currently red on generated-sync checks that are unrelated to this focused export fix:
I reproduced the generator path on a fresh Focused validation passed:
|
PR Review: PASS (NOT VERIFIED)What This DoesExports feed-client support types ( Blast RadiusPython SDK package-root exports and feed-client type aliases only: Consumer VerificationBefore (base branch): # origin/main
from pmxt import FeedClient # available
from pmxt import Ticker, Tickers, FeedMarket # not available at package rootAfter (PR branch): from .feed_client import FeedClient, FeedMarket, Market, OHLCV, OracleRound, Ticker, Tickers
Tickers = Dict[str, Ticker]
FeedMarket = MarketTest Results
FindingsNo blocking findings. PMXT Pipeline Check
Semver Impactpatch -- backward-compatible public export/type-alias fix. RiskI could not execute the Python public-export test suite end-to-end because the local review checkout lacks pytest/generated |
Summary
Ticker,Tickers,OHLCV,Market,FeedMarket, andOracleRound.Fixes #1170
Test Plan
python3 -m py_compile sdks/python/pmxt/feed_client.py sdks/python/pmxt/__init__.py sdks/python/tests/test_public_exports.pyfeed_clientand present in__all__git diff --checkNotes
python3 -m pytestwas not available in this cron image (No module named pip/ no pytest command), so I ran the equivalent targeted AST assertions directly.npm run generate:docs --workspace=pmxt-coreproduced broad unrelated API reference/config drift, so those generated files were reverted to keep this PR scoped.