Skip to content

Conversation

@youknowone
Copy link
Member

@youknowone youknowone commented Apr 29, 2023

#4564

related to TypedDict

cc @lastmjs

@lastmjs
Copy link

lastmjs commented May 4, 2023

Our goal is to be able to use generics with TypedDicts, like this:

class Result(TypedDict, Generic[T, K], total=False):
    Ok: T
    Err: K

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.

2 participants