Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'pydantic.typing' has no attribute 'AnyType' #1718

Closed
kaiwenw opened this issue Jul 14, 2020 · 1 comment
Closed

AttributeError: module 'pydantic.typing' has no attribute 'AnyType' #1718

kaiwenw opened this issue Jul 14, 2020 · 1 comment
Labels
bug V1 Bug related to Pydantic V1.X

Comments

@kaiwenw
Copy link

kaiwenw commented Jul 14, 2020

For pydantic 1.6, I cannot import pydantic.typing.AnyType anymore.

@kaiwenw kaiwenw added the bug V1 Bug related to Pydantic V1.X label Jul 14, 2020
@PrettyWood
Copy link
Member

PrettyWood commented Jul 14, 2020

Hello @kaiwenw
Yes it is in the changelog:

Update mypy, remove AnyType alias for Type[Any], #1598 by @samuelcolvin

You can just add the alias yourself if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug V1 Bug related to Pydantic V1.X
Projects
None yet
Development

No branches or pull requests

3 participants