NotRequired
receives (T,)
instead of T
in Generic TypedDict
#7931
Labels
bug V2
Bug related to Pydantic V2
Initial Checks
Description
Pydantic seems to resolve the Generic in a TypedDict as a tuple value for NotRequired and Required, which only accepts single types.
(str,)
should becomestr
.Example Code
Python, Pydantic & OS Version
The text was updated successfully, but these errors were encountered: