Skip to content

Commit 904b825

Browse files
committed
remove unused settings
1 parent 116832b commit 904b825

3 files changed

Lines changed: 2 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
* add more links to the landing page
1616
* add WMTS extensions to the Items and Collections endpoints
1717
* remove custom `MosaicTilerFactory` and default to the one from `titiler.mosaic`
18+
* remove unused `STACSettings`. Alternate HREF key env needs to be defined using `RIO_TILER_STAC_ALTERNATE_KEY`
1819

1920
## [0.4.0] - 2025-11-06
2021

titiler/stacapi/backend.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@
2222

2323
from titiler.stacapi.dependencies import APIParams, Search
2424
from titiler.stacapi.reader import SimpleSTACReader
25-
from titiler.stacapi.settings import CacheSettings, RetrySettings, STACSettings
25+
from titiler.stacapi.settings import CacheSettings, RetrySettings
2626

2727
cache_config = CacheSettings()
2828
retry_config = RetrySettings()
29-
stac_config = STACSettings()
3029

3130
ttl_cache = TTLCache(maxsize=cache_config.maxsize, ttl=cache_config.ttl) # type: ignore
3231

titiler/stacapi/settings.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,3 @@ class STACAPISettings(BaseSettings):
8383
"env_file": ".env",
8484
"extra": "ignore",
8585
}
86-
87-
88-
class STACSettings(BaseSettings):
89-
"""STAC API settings"""
90-
91-
alternate_url: Optional[str] = None
92-
93-
model_config = {
94-
"env_prefix": "TITILER_STACAPI_",
95-
"env_file": ".env",
96-
"extra": "ignore",
97-
}

0 commit comments

Comments
 (0)