From bb6e680472002ed5462a481824af891154a617ac Mon Sep 17 00:00:00 2001 From: Nathaniel Schmitz Date: Tue, 5 Mar 2024 16:45:43 +0000 Subject: [PATCH] Fix executor_kwargs type annotation --- xee/ext.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xee/ext.py b/xee/ext.py index cddfa84..6b8b203 100644 --- a/xee/ext.py +++ b/xee/ext.py @@ -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( @@ -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 @@ -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.