From d4f8c48d1081bfdab234ef2605c8fa7116f08761 Mon Sep 17 00:00:00 2001 From: Francis Charette Migneault Date: Wed, 6 Nov 2024 23:49:14 -0500 Subject: [PATCH] ignore inconsistent pydantic/mypy typing between versions --- stac_model/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stac_model/schema.py b/stac_model/schema.py index 63310ba..008d7ec 100644 --- a/stac_model/schema.py +++ b/stac_model/schema.py @@ -173,7 +173,7 @@ class SummariesMLModelExtension(SummariesExtension): def _check_mlm_property(self, prop: str) -> FieldInfo: try: - return MLModelProperties.model_fields[prop] + return MLModelProperties.model_fields[prop] # type: ignore except KeyError as err: raise AttributeError(f"Name '{prop}' is not a valid MLM property.") from err