From 65ddb39f959ae70f8612420d1471c88058f14b9f Mon Sep 17 00:00:00 2001 From: hrodmn Date: Thu, 11 Jan 2024 05:59:51 -0600 Subject: [PATCH] use spatial_extent and datetime_extent everywhere --- tipg/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tipg/main.py b/tipg/main.py index 568bcaec..ce398e4b 100644 --- a/tipg/main.py +++ b/tipg/main.py @@ -115,6 +115,8 @@ async def lifespan(app: FastAPI): exclude_functions=db_settings.exclude_functions, exclude_function_schemas=db_settings.exclude_function_schemas, spatial=db_settings.only_spatial_tables, + spatial_extent=db_settings.spatial_extent, + datetime_extent=db_settings.datetime_extent, ) add_exception_handlers(app, DEFAULT_STATUS_CODES) @@ -152,5 +154,7 @@ async def refresh(request: Request): exclude_functions=db_settings.exclude_functions, exclude_function_schemas=db_settings.exclude_function_schemas, spatial=db_settings.only_spatial_tables, + spatial_extent=db_settings.spatial_extent, + datetime_extent=db_settings.datetime_extent, ) return request.app.state.collection_catalog