File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
src/titiler/application/titiler/application Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 11# Release Notes
22
3+ ## 0.17.3 (2024-03-21)
4+
5+ ### titiler.application
6+
7+ * Add ` extra="ignore" ` option ` ApiSettings ` to fix pydantic issue when using ` .env ` file (author @imanshafiei540 , https://github.com/developmentseed/titiler/pull/800 )
8+
39## 0.17.2 (2024-03-15)
410
511### titiler.core
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ class ApiSettings(BaseSettings):
2525 # an API key required to access any endpoint, passed via the ?access_token= query parameter
2626 global_access_token : Optional [str ] = None
2727
28- model_config = SettingsConfigDict (env_prefix = "TITILER_API_" , env_file = ".env" )
28+ model_config = SettingsConfigDict (
29+ env_prefix = "TITILER_API_" , env_file = ".env" , extra = "ignore"
30+ )
2931
3032 @field_validator ("cors_origins" )
3133 def parse_cors_origin (cls , v ):
You can’t perform that action at this time.
0 commit comments