Skip to content

rs_server_catalog/stac_api.md

<< Back to index

Shared stac-fastapi-pgstac API instance.

Since stac-fastapi-pgstac 6.4.0, the library no longer exposes module-level app/api/settings globals (see instantiate_api in https://github.com/stac-utils/stac-fastapi-pgstac/releases/tag/6.4.0). This module builds them once so they can be shared between rs_server_catalog.app and rs_server_catalog.middleware.catalog_middleware without a circular import.