Skip to content

Commit d3d88cc

Browse files
committed
fix: type hint
1 parent 5c46d04 commit d3d88cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

easypost/beta/carrier_metadata.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from typing import (
22
Any,
3+
Dict,
34
List,
45
Optional,
56
)
@@ -15,7 +16,7 @@ class CarrierMetadata:
1516
@classmethod
1617
def retrieve_carrier_metadata(
1718
cls, api_key: Optional[str] = None, carriers: Optional[List[str]] = None, types: Optional[List[str]] = None
18-
) -> List[dict[str, Any]]:
19+
) -> List[Dict[str, Any]]:
1920
"""Get carrier metadata for all carriers on the EasyPost platform."""
2021
requestor = Requestor(local_api_key=api_key)
2122
params = {

0 commit comments

Comments
 (0)