🐛 Set default value to Settings.clear_static_data
This commit is contained in:
@@ -20,7 +20,7 @@ class Settings(BaseSettings):
|
|||||||
app_name: str
|
app_name: str
|
||||||
|
|
||||||
idfm_api_key: SecretStr = Field(..., env="API_KEY")
|
idfm_api_key: SecretStr = Field(..., env="API_KEY")
|
||||||
clear_static_data: bool = Field(..., env="CLEAR_STATIC_DATA")
|
clear_static_data: bool = Field(False, env="CLEAR_STATIC_DATA")
|
||||||
|
|
||||||
http: HttpSettings = HttpSettings()
|
http: HttpSettings = HttpSettings()
|
||||||
db: DatabaseSettings = DatabaseSettings()
|
db: DatabaseSettings = DatabaseSettings()
|
||||||
|
Reference in New Issue
Block a user