Skip to content

Commit c6403f4

Browse files
committed
fix unused typing ignore error from mypy
1 parent 139f3af commit c6403f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stac_model/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class SummariesMLModelExtension(SummariesExtension):
167167

168168
def _check_mlm_property(self, prop: str) -> FieldInfo:
169169
try:
170-
return MLModelProperties.model_fields[prop] # type: ignore
170+
return MLModelProperties.model_fields[prop]
171171
except KeyError as err:
172172
raise AttributeError(f"Name '{prop}' is not a valid MLM property.") from err
173173

0 commit comments

Comments
 (0)