Skip to content

Rename get() type param to value_type to avoid shadowing builtin#92

Merged
zeevdr merged 3 commits into
mainfrom
fix/rename-type-param
May 24, 2026
Merged

Rename get() type param to value_type to avoid shadowing builtin#92
zeevdr merged 3 commits into
mainfrom
fix/rename-type-param

Conversation

@zeevdr
Copy link
Copy Markdown
Member

@zeevdr zeevdr commented May 24, 2026

Summary

  • The type parameter in get() (sync and async) shadowed Python's built-in type, making static analysis tools emit warnings and surprising users reading the signature.
  • Renamed to value_type across all overloads and the implementation in both client.py and async_client.py.

Test plan

  • All 222 tests pass (make test)
  • Lint clean (make lint) — also caught and fixed a line-length regression in the async overload

Closes #57

zeevdr and others added 2 commits May 24, 2026 15:42
Closes #57.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Part of #57.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@zeevdr zeevdr added this to the Beta Readiness milestone May 24, 2026
@zeevdr zeevdr added size: S Quick win — a few hours or less priority: P2 Nice-to-have labels May 24, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@zeevdr zeevdr merged commit 1aa2fc3 into main May 24, 2026
12 checks passed
@zeevdr zeevdr deleted the fix/rename-type-param branch May 24, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: P2 Nice-to-have size: S Quick win — a few hours or less

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename builtin-shadowing parameter to

1 participant