File tree Expand file tree Collapse file tree 4 files changed +16
-2
lines changed
stac_fastapi/elasticsearch Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1- # Requirements
1+ # stac-fastapi-elasticsearch
2+
3+ ## Requirements
24
35The Elasticsearch backend requires ** elasticsearch** .
Original file line number Diff line number Diff line change 11"""FastAPI application."""
22
3+ import os
4+
35from stac_fastapi .api .app import StacApi
46from stac_fastapi .api .models import create_get_request_model , create_post_request_model
57from stac_fastapi .core .core import (
6062post_request_model = create_post_request_model (extensions )
6163
6264api = StacApi (
65+ title = os .getenv ("STAC_API_TITLE" , "stac-fastapi" ),
66+ description = os .getenv ("STAC_API_DESCRIPTION" , "stac-fastapi" ),
6367 settings = settings ,
6468 extensions = extensions ,
6569 client = CoreClient (
Original file line number Diff line number Diff line change 1- # stac-fastapi-opensearch
1+ # stac-fastapi-opensearch
2+
3+ ## Requirements
4+
5+ The Elasticsearch backend requires ** opensearch** .
Original file line number Diff line number Diff line change 11"""FastAPI application."""
22
3+ import os
4+
35from stac_fastapi .api .app import StacApi
46from stac_fastapi .api .models import create_get_request_model , create_post_request_model
57from stac_fastapi .core .core import (
6062post_request_model = create_post_request_model (extensions )
6163
6264api = StacApi (
65+ title = os .getenv ("STAC_API_TITLE" , "stac-fastapi" ),
66+ description = os .getenv ("STAC_API_DESCRIPTION" , "stac-fastapi" ),
6367 settings = settings ,
6468 extensions = extensions ,
6569 client = CoreClient (
You can’t perform that action at this time.
0 commit comments