Skip to content

Commit

Permalink
Fix executor_kwargs type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
naschmitz committed Mar 5, 2024
1 parent d3d4d5e commit bb6e680
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xee/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def open(
request_byte_limit: int = REQUEST_BYTE_LIMIT,
ee_init_kwargs: Optional[Dict[str, Any]] = None,
ee_init_if_necessary: bool = False,
executor_kwargs: Optional[dict] = None,
executor_kwargs: Optional[Dict[str, Any]] = None,
) -> 'EarthEngineStore':
if mode != 'r':
raise ValueError(
Expand Down Expand Up @@ -185,7 +185,7 @@ def __init__(
request_byte_limit: int = REQUEST_BYTE_LIMIT,
ee_init_kwargs: Optional[Dict[str, Any]] = None,
ee_init_if_necessary: bool = False,
executor_kwargs: Optional[dict] = None,
executor_kwargs: Optional[Dict[str, Any]] = None,
):
self.ee_init_kwargs = ee_init_kwargs
self.ee_init_if_necessary = ee_init_if_necessary
Expand Down Expand Up @@ -964,7 +964,7 @@ def open_dataset(
request_byte_limit: int = REQUEST_BYTE_LIMIT,
ee_init_if_necessary: bool = False,
ee_init_kwargs: Optional[Dict[str, Any]] = None,
executor_kwargs: Optional[dict] = None,
executor_kwargs: Optional[Dict[str, Any]] = None,
) -> xarray.Dataset: # type: ignore
"""Open an Earth Engine ImageCollection as an Xarray Dataset.
Expand Down

0 comments on commit bb6e680

Please sign in to comment.