Skip to content

Commit

Permalink
Use is_valid_field from 1.x for mypy plugin (#8738)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielNoord committed Feb 7, 2024
1 parent e3f3fd0 commit 3704ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydantic/v1/mypy.py
Expand Up @@ -65,7 +65,7 @@
from mypy.util import get_unique_redefinition_name
from mypy.version import __version__ as mypy_version

from pydantic.utils import is_valid_field
from .utils import is_valid_field

try:
from mypy.types import TypeVarDef # type: ignore[attr-defined]
Expand Down

0 comments on commit 3704ecc

Please sign in to comment.