Skip to content

Commit 79bcd7b

Browse files
Revert change to settings
1 parent 6ec6ad4 commit 79bcd7b

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

titiler/stacapi/models.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
77
"""
88

9-
from typing import Dict, List, Optional, TypedDict, Union
9+
from typing import List, Optional
1010

11-
from geojson_pydantic import Feature, Point
1211
from pydantic import BaseModel, Field
1312
from typing_extensions import Annotated
1413

titiler/stacapi/settings.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class RetrySettings(BaseSettings):
6767
retry_factor: Annotated[float, Field(ge=0.0)] = 0.0
6868

6969
model_config = {
70-
"env_prefix": "TITILER_STACAPI_RETRY_",
70+
"env_prefix": "TITILER_STACAPI_API_",
7171
"env_file": ".env",
7272
"extra": "ignore",
7373
}
@@ -79,19 +79,19 @@ class STACAPISettings(BaseSettings):
7979
stac_api_url: str = "https://planetarycomputer.microsoft.com/api/stac/v1"
8080

8181
model_config = {
82-
"env_prefix": "TITILER_STACAPI_STACAPI_",
82+
"env_prefix": "TITILER_STACAPI_",
8383
"env_file": ".env",
8484
"extra": "ignore",
8585
}
8686

8787

8888
class STACSettings(BaseSettings):
89-
"""STAC model settings"""
89+
"""STAC API settings"""
9090

9191
alternate_url: Optional[str] = None
9292

9393
model_config = {
94-
"env_prefix": "TITILER_STACAPI_STAC_",
94+
"env_prefix": "TITILER_STACAPI_",
9595
"env_file": ".env",
9696
"extra": "ignore",
9797
}

0 commit comments

Comments
 (0)