From 18502a78caea3c5265eae3951edd7e3413bb4aba Mon Sep 17 00:00:00 2001 From: Charlie Marshak Date: Mon, 24 Jun 2024 10:36:23 -0700 Subject: [PATCH] more optional typing --- src/tile_mate/stitcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tile_mate/stitcher.py b/src/tile_mate/stitcher.py index 272e156..a7f2f36 100644 --- a/src/tile_mate/stitcher.py +++ b/src/tile_mate/stitcher.py @@ -197,8 +197,8 @@ def get_additional_tile_metadata(urls: list[str], max_tile_tries: int = 10) -> d def get_raster_from_tiles( extent: list[float], - tile_shortname: str | None = None, - df_tiles: gpd.GeoDataFrame | None = None, + tile_shortname: Optional[str] = None, + df_tiles: Optional[gpd.GeoDataFrame] = None, year: Optional[int] = None, season: Optional[str] = None, temporal_baseline_days: Optional[int] = None,