You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
list_trades_all vs list_all_rfqs — two *_all naming conventions coexist in the same SDK #349
When a list method has a noun suffix, two patterns coexist in this codebase: list_X paired with list_all_X (communications.list_rfqs / list_all_rfqs, communications.list_quotes / list_all_quotes, subaccounts.list_transfers / list_all_transfers) and list_X paired with list_X_all (markets.list_trades / list_trades_all). Both shapes appear in user-facing docs.
Consequence: a caller who learned the SDK on CommunicationsResource reaches for client.markets.list_all_trades(...) and gets AttributeError. It is also a documentation footgun — docs/resources/index has both spellings within a few rows of each other.
Standardize on list_all_<noun> (the form used by three of the four resources). Rename markets.list_trades_all → list_all_trades on sync + async, add a one-version deprecation alias (@typing_extensions.deprecated) that forwards to the new name, and update docs/resources/markets.md. Add a regression test that imports both the old and new names and asserts the deprecation warning fires.
Deferred to v3.0.0 per Round-3 audit closure plan.
Reason: this change renames public methods, so it cannot ship in a v2.x minor without adding deprecation aliases + warnings + alias tests for every renamed symbol. Bundling all such renames into v3.0.0 keeps v2.7 a clean polish release and avoids alias drift.
Linked plan: /tmp/kalshi-review-r3/PLAN.md Wave 4. Re-opens (well, stays open) for scheduling when v3.0.0 work begins.
Activity
TexasCoding commentedon May 22, 2026
Deferred to v3.0.0 per Round-3 audit closure plan.
Reason: this change renames public methods, so it cannot ship in a v2.x minor without adding deprecation aliases + warnings + alias tests for every renamed symbol. Bundling all such renames into v3.0.0 keeps v2.7 a clean polish release and avoids alias drift.
Linked plan:
/tmp/kalshi-review-r3/PLAN.mdWave 4. Re-opens (well, stays open) for scheduling when v3.0.0 work begins.release: 2.7.0 — post-v2.6 independent multi-LLM reviewer SDK audit c…
BREAKING(v3): communications sub-namespaces + list_all_<noun> standar…
release: 3.0.0 — public-API rename release (#348, #349, #351) (#378)