From 2a1e460805b10ba66c544249866fae85798fabc5 Mon Sep 17 00:00:00 2001 From: Joostlek Date: Fri, 21 Jul 2023 17:13:34 +0200 Subject: [PATCH] Fix mypy --- src/python_opensky/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python_opensky/models.py b/src/python_opensky/models.py index 4cf79ac..77af1ae 100644 --- a/src/python_opensky/models.py +++ b/src/python_opensky/models.py @@ -6,7 +6,7 @@ try: from pydantic.v1 import BaseModel, Field except ImportError: - from pydantic import BaseModel, Field # type: ignore[attr-defined] + from pydantic import BaseModel, Field # type: ignore[assignment] from .const import AircraftCategory, PositionSource from .exceptions import OpenSkyCoordinateError