Skip to content

Commit

Permalink
common.py: Add return type annotation of None to xarray_to_raster (#2073
Browse files Browse the repository at this point in the history
)

Minor cleanup of afaf27c
  • Loading branch information
schwehr authored Jul 12, 2024
1 parent afaf27c commit d619245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geemap/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -16248,7 +16248,7 @@ def get_google_maps_api_key(key: str = "GOOGLE_MAPS_API_KEY") -> Optional[str]:
return os.environ.get(key, None)


def xarray_to_raster(dataset, filename: str, **kwargs: Dict[str, Any]):
def xarray_to_raster(dataset, filename: str, **kwargs: Dict[str, Any]) -> None:
"""Convert an xarray Dataset to a raster file.

Args:
Expand Down

0 comments on commit d619245

Please sign in to comment.