Skip to content

Commit 7149cc5

Browse files
committed
add explicit type hints
1 parent 82084cd commit 7149cc5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

planet/order_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ def band_math_tool(b1: str,
603603
def sentinel_hub(collection_id: Optional[str] = None,
604604
create_configuration: Optional[bool] = False) -> dict:
605605
"""Specify a Sentinel Hub hosting destination."""
606-
params = {}
606+
params: Dict[str, Union[str, bool]] = {}
607607
if collection_id:
608608
params['collection_id'] = collection_id
609609
if create_configuration:

planet/subscription_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ def sentinel_hub(collection_id: Optional[str],
790790
create_configuration: Automatically create a layer configuration for your collection.
791791
"""
792792

793-
parameters = {}
793+
parameters: Dict[str, Union[str, bool]] = {}
794794
if collection_id:
795795
parameters['collection_id'] = collection_id
796796
if create_configuration:

0 commit comments

Comments
 (0)