Skip to content

Commit 40c3124

Browse files
committed
fix: regenerate_rates return type
1 parent 7484869 commit 40c3124

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

easypost/services/shipment_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def get_next_page(
7272

7373
return self.all(**params)
7474

75-
def regenerate_rates(self, id: str) -> Shipment:
75+
def regenerate_rates(self, id: str) -> Dict[str, List[Rate]]:
7676
"""Regenerate Rates for a Shipment."""
7777
url = f"{self._instance_url(self._model_class, id)}/rerate"
7878

0 commit comments

Comments
 (0)