Drift
TypeScript MarketFilterParams (aliased as MarketFetchParams) includes page and similarityThreshold fields that are absent from the Python MarketFetchParams TypedDict.
TypeScript SDK
sdks/typescript/pmxt/models.ts, lines 365–410:
export interface MarketFilterParams {
// ...
page?: number; // ← present
similarityThreshold?: number; // ← present
// ...
}
export type MarketFetchParams = MarketFilterParams;
Python SDK
sdks/python/pmxt/models.py, lines 555–569:
class MarketFetchParams(TypedDict, total=False):
query: str
limit: int
offset: int
sort: Literal["volume", "liquidity", "newest"]
status: Literal["active", "inactive", "closed", "all"]
search_in: Literal["title", "description", "both"]
slug: str
market_id: str
outcome_id: str
event_id: str
category: str
tags: List[str]
filter: MarketFilterCriteria
# page — missing
# similarity_threshold — missing
Expected
Python MarketFetchParams should add page: int and similarity_threshold: float to match the TypeScript interface.
Impact
Python users cannot pass page or similarity_threshold through the typed params object. While they may still pass them as raw dict keys, the missing type hints mean IDE completion and static analysis will not surface these options.
Found by automated SDK cross-language drift audit
Drift
TypeScript
MarketFilterParams(aliased asMarketFetchParams) includespageandsimilarityThresholdfields that are absent from the PythonMarketFetchParamsTypedDict.TypeScript SDK
sdks/typescript/pmxt/models.ts, lines 365–410:Python SDK
sdks/python/pmxt/models.py, lines 555–569:Expected
Python
MarketFetchParamsshould addpage: intandsimilarity_threshold: floatto match the TypeScript interface.Impact
Python users cannot pass
pageorsimilarity_thresholdthrough the typed params object. While they may still pass them as rawdictkeys, the missing type hints mean IDE completion and static analysis will not surface these options.Found by automated SDK cross-language drift audit