Skip to content

Commit

Permalink
ignore inconsistent pydantic/mypy typing between versions
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Nov 7, 2024
1 parent 1dcbac8 commit d4f8c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stac_model/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d4f8c48

Please sign in to comment.