Skip to content

Conversation

@harley-poly
Copy link
Member

  • Fix unsafe access to e.request on TimeoutException/ConnectError
  • Fix ruff C416 lint warnings in test files (use dict() instead of comprehension)
  • Add comprehensive test coverage for events, markets, portfolio, search, series, sports, websocket
  • Update README examples to use camelCase keys matching API spec
  • Add APIConnectionError and APITimeoutError to error handling examples

Changes

Testing

Checklist

  • Tests pass (pytest)
  • Linting passes (ruff check .)
  • Types check (mypy polymarket_us)

@harley-poly harley-poly force-pushed the harley/python-sdk-lint-fixes branch from df989a7 to a37390e Compare January 22, 2026 00:49
- Fix unsafe access to e.request on TimeoutException/ConnectError
- Fix ruff C416 lint warnings in test files (use dict() instead of comprehension)
- Add comprehensive test coverage for events, markets, portfolio, search, series, sports, websocket
- Update README examples to use camelCase keys matching API spec
- Add APIConnectionError and APITimeoutError to error handling examples
@harley-poly harley-poly force-pushed the harley/python-sdk-lint-fixes branch 2 times, most recently from a37390e to a4c10c8 Compare January 22, 2026 00:54
@mustafa-poly mustafa-poly merged commit 1d8b437 into main Jan 22, 2026
9 checks passed
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.

3 participants