ruff
[ty] typecheck dict methods for `TypedDict`
#19874
Merged

[ty] typecheck dict methods for `TypedDict` #19874

PrettyWood
PrettyWood PrettyWood requested a review from carljm carljm 159 days ago
PrettyWood PrettyWood requested a review from AlexWaygood AlexWaygood 159 days ago
PrettyWood PrettyWood requested a review from sharkdp sharkdp 159 days ago
PrettyWood PrettyWood requested a review from dcreager dcreager 159 days ago
PrettyWood PrettyWood requested a review from MichaReiser MichaReiser 159 days ago
AlexWaygood AlexWaygood added ty
carljm carljm removed review request from carljm carljm 153 days ago
PrettyWood feat: overloads for `TypedDict.get()`
463970d3
PrettyWood feat: add `pop()` and `setdefault()`
cc4e3e01
PrettyWood feat: add clean error for `.pop()` on required field
39026674
sharkdp sharkdp force pushed from 771f1d13 to 39026674 146 days ago
sharkdp sharkdp added ecosystem-analyzer
github-actions
github-actions
github-actions
sharkdp
sharkdp requested changes on 2025-08-25
sharkdp Merge remote-tracking branch 'origin/main' into ty-typeddict-methods
25393292
sharkdp Remove comment about rule
84d2a211
sharkdp
sharkdp sharkdp removed ecosystem-analyzer
sharkdp sharkdp added ecosystem-analyzer
sharkdp
sharkdp commented on 2025-08-29
sharkdp Synthesize generic .get and .pop methods
476cc3ec
sharkdp sharkdp force pushed from 4626add8 to 476cc3ec 142 days ago
sharkdp sharkdp removed ecosystem-analyzer
sharkdp sharkdp added ecosystem-analyzer
sharkdp Fallback overloads for .get
f3fc071e
sharkdp sharkdp removed ecosystem-analyzer
sharkdp sharkdp added ecosystem-analyzer
dcreager
dcreager commented on 2025-08-29
sharkdp
sharkdp feedback
59dbf5bf
sharkdp Merge remote-tracking branch 'origin/main' into ty-typeddict-methods
0e493b98
sharkdp
sharkdp approved these changes on 2025-08-29
AlexWaygood
AlexWaygood commented on 2025-08-29
sharkdp get(): More precise return type for unknown keys without default
4208fb49
AlexWaygood
AlexWaygood approved these changes on 2025-08-29
sharkdp sharkdp merged 5a608f73 into main 142 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone