Skip to content

sdk-drift: SeriesFetchParams typed interface missing from Python SDK #805

@realfishsam

Description

@realfishsam

SDK Drift: SeriesFetchParams not exported from Python SDK

Finding

TypeScript exports a typed SeriesFetchParams interface for the fetchSeries method. Python has no equivalent — the method accepts an untyped Optional[dict].

TypeScript

File: sdks/typescript/pmxt/models.ts, lines 512–525

export interface SeriesFetchParams {
    id?: string;
    slug?: string;
    query?: string;
    recurrence?: string;
    limit?: number;
    offset?: number;
}

Exported from the package as a named type.

Python

File: sdks/python/pmxt/client.py

fetch_series accepts parameters as an untyped Optional[dict]. There is no SeriesFetchParams dataclass or TypedDict in sdks/python/pmxt/models.py or sdks/python/pmxt/__init__.py.

Impact

Python callers have no IDE autocompletion or static-type checking for fetch_series parameters. Parameter names, types, and optionality are undiscoverable without reading source or documentation.

Related issues

Same category of drift as #735 (FetchOrderBookParams), #736 (MyTradesParams), #737 (OrderHistoryParams), #738 (OHLCVParams / HistoryFilterParams), #739 (TradesParams).

Normalization applied

camelCase → snake_case (recurrence, limit, offset etc.) is expected and is not flagged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    sdk-driftCross-language SDK consistency findings (TypeScript vs Python)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions