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
(🎁) Allow usage of TypedDict as a type, such that it can be used in the bound of a TypeVar #1395
Reacted by Zomatree, Krzysztof Jagiello, Harshita Gupta, Eli$, Maximilien Tirard, Julian Ceipek, Thomas Jost, Aaron Willis, Riccardo Bergamaschi, Timofey Fomin and 6 more
changed the title [-](🎁) Allow usage of `TypedDict` as a type, such that it can be used as a bound of a TypeVar[/-][+](🎁) Allow usage of `TypedDict` as a type, such that it can be used as in `bound` of a `TypeVar`[/+]on Apr 28, 2023
changed the title [-](🎁) Allow usage of `TypedDict` as a type, such that it can be used as in `bound` of a `TypeVar`[/-][+](🎁) Allow usage of `TypedDict` as a type, such that it can be used in the `bound` of a `TypeVar`[/+]on Apr 28, 2023
Activity
[-](🎁) Allow usage of `TypedDict` as a type, such that it can be used as a bound of a TypeVar[/-][+](🎁) Allow usage of `TypedDict` as a type, such that it can be used as in `bound` of a `TypeVar`[/+][-](🎁) Allow usage of `TypedDict` as a type, such that it can be used as in `bound` of a `TypeVar`[/-][+](🎁) Allow usage of `TypedDict` as a type, such that it can be used in the `bound` of a `TypeVar`[/+]Dreamsorcerer commentedon Oct 25, 2026
And also just allow simple things like:
JelleZijlstra commentedon Oct 25, 2026
You can use an empty, open TypedDict class for this; it's a supertype of every other TypedDict.