Skip to content

Commit

Permalink
Fix pydantic - mypy 1.1 incompatibility
Browse files Browse the repository at this point in the history
Mypy 1.1.1 throws errors with pydantic models that specify default values with
positional arguments. The next pydantic version will probably fix it by updating
the mypy-pydantic plugin, but converting the default value to a keyword argument
is no big deal either. So let's fix it today.

For more info pydantic/pydantic#5077
  • Loading branch information
pmav99 committed Mar 8, 2023
1 parent f7763c6 commit d1d8b51
Show file tree
Hide file tree
Showing 4 changed files with 194 additions and 207 deletions.

0 comments on commit d1d8b51

Please sign in to comment.