File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
runtimes/eoapi/stac/eoapi/stac Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 4040from starlette .templating import Jinja2Templates
4141from starlette_cramjam .middleware import CompressionMiddleware
4242
43+ from . import __version__ as eoapi_devseed_version
4344from .client import PgSTACClient
4445from .config import Settings
4546from .extension import TiTilerExtension
@@ -153,6 +154,7 @@ async def lifespan(app: FastAPI):
153154 app = FastAPI (
154155 title = settings .stac_fastapi_title ,
155156 description = settings .stac_fastapi_description ,
157+ version = eoapi_devseed_version ,
156158 lifespan = lifespan ,
157159 openapi_url = settings .openapi_url ,
158160 docs_url = settings .docs_url ,
@@ -162,6 +164,7 @@ async def lifespan(app: FastAPI):
162164 "usePkceWithAuthorizationCodeGrant" : auth_settings .use_pkce ,
163165 },
164166 ),
167+ api_version = eoapi_devseed_version ,
165168 settings = settings ,
166169 extensions = application_extensions ,
167170 client = PgSTACClient ( # type: ignore
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ class Settings(config.Settings):
3737
3838 stac_fastapi_title : str = "eoAPI-stac"
3939 stac_fastapi_description : str = "Custom stac-fastapi application for eoAPI-Devseed"
40- stac_fastapi_version : str = "0.1.0"
4140 stac_fastapi_landing_id : str = "eoapi-devseed-stac"
4241
4342 cachecontrol : str = "public, max-age=3600"
You can’t perform that action at this time.
0 commit comments