Skip to content

Commit 3da041b

Browse files
committed
add xarray/zarr version in /healthz
1 parent d0dc936 commit 3da041b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deployment/aws/lambda/xarray_handler.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
from typing import Annotated, Literal, Optional
55

66
import rasterio
7+
import xarray
8+
import zarr
79
from fastapi import FastAPI, Query
810
from mangum import Mangum
911
from starlette.middleware.cors import CORSMiddleware
@@ -130,6 +132,8 @@ def application_health_check():
130132
"gdal": rasterio.__gdal_version__,
131133
"proj": rasterio.__proj_version__,
132134
"geos": rasterio.__geos_version__,
135+
"xarray": xarray.__version__,
136+
"zarr": zarr.__version__,
133137
}
134138
}
135139

0 commit comments

Comments
 (0)