Skip to content

Commit acb2a34

Browse files
committed
add return type suggestion
1 parent 1d515e8 commit acb2a34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

STACpopulator/extensions/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def stac_item(self) -> "pystac.Item":
219219
return json.loads(json.dumps(item.to_dict()))
220220

221221

222-
def metacls_extension(name: str, schema_uri: str) -> Type:
222+
def metacls_extension(name: str, schema_uri: str) -> "Type[MetaExtension]":
223223
"""Create an extension class dynamically from the properties."""
224224
cls_name = f"{name.upper()}Extension"
225225

0 commit comments

Comments
 (0)