Skip to content

Commit 6a819e4

Browse files
committed
fix: optional typing
1 parent 51af1fe commit 6a819e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

titiler/pystac/advanced_client.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"""
77

88
import warnings
9-
from typing import Optional
9+
from typing import Dict, List, Optional
1010
from urllib.parse import urlencode
1111

1212
import pystac
@@ -20,8 +20,8 @@ def get_aggregation(
2020
self,
2121
collection_id: str,
2222
aggregation: str,
23-
aggregation_params: Optional[dict] = None,
24-
) -> list[dict]:
23+
aggregation_params: Optional[Dict] = None,
24+
) -> List[Dict]:
2525
"""Perform an aggregation on a STAC collection.
2626
2727
Args:

0 commit comments

Comments
 (0)