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
[x ] I have searched (google, github) for similar issues and couldn't find anything
[x ] I have read and followed the docs and still think this is a bug
Bug
When running mypy using create_model_from_typeddict() I get a type error for the input - the code however works as expected. When I run the code below, using mypy myscript.py, I get the following error.
error: Argument 1 to "create_model_from_typeddict" has incompatible type "Type[SomeDict]"; expected "Type[TypedDict]"
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
Checks
Bug
When running mypy using create_model_from_typeddict() I get a type error for the input - the code however works as expected. When I run the code below, using
mypy myscript.py
, I get the following error.Output of
python -c "import pydantic.utils; print(pydantic.utils.version_info())"
:The text was updated successfully, but these errors were encountered: