[ty] Enable narrowing for unions of TypedDict #25188
charliermarsh
changed the title [ty] View ecosystem results for synthesized TypedDict intersection [ty] Enable narrowing for unions of TypedDict 81 days ago
charliermarsh
marked this pull request as ready for review 81 days ago
charliermarsh
marked this pull request as ready for review 81 days ago
[ty] View ecosystem results for synthesized TypedDict intersection
09f28d17
Use a protocol
2ad75ce0
Add intersection
b757221c
Invert logic
aa793a0c
Always intersect
21837d33
Gate on TypedDict
6616a7e6
Omit constraint
e03f0974
Remove it
0b51fd94
Use a separate protocol
75f3aed2
[ty] Preserve present TypedDict keys during narrowing
b3884cdf
[ty] Preserve present-key protocol refinements
7a8731ea
Revert "[ty] Preserve present-key protocol refinements"
82a98b0b
charliermarsh
marked this pull request as ready for review 66 days ago
simplify
af061493
Add TODOs for present-key narrowing
37f7a020
charliermarsh
deleted the charlie/td-required-keys branch 61 days ago
Login to write a write a comment.
Login via GitHub