Skip to content

Commit

Permalink
use spatial_extent and datetime_extent everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
hrodmn committed Jan 11, 2024
1 parent 9780ebc commit 65ddb39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tipg/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

0 comments on commit 65ddb39

Please sign in to comment.