Skip to content

Commit a7a18de

Browse files
committed
Simplify ApplicationSettings
1 parent acae95e commit a7a18de

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/python_seed/api/application_settings.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515

1616

1717
class ApplicationSettings(BaseSettings):
18+
logging_level: str
19+
cosmos_db_no_sql_url: str
20+
cosmos_db_no_sql_key: SecretStr = Field(alias="CosmosDbNoSqlKey")
21+
cosmos_db_no_sql_database: str
22+
1823
model_config = SettingsConfigDict(
1924
extra="ignore",
2025
env_nested_delimiter="__",
@@ -24,11 +29,6 @@ class ApplicationSettings(BaseSettings):
2429
),
2530
)
2631

27-
logging_level: str
28-
cosmos_db_no_sql_url: str
29-
cosmos_db_no_sql_key: SecretStr = Field(alias="CosmosDbNoSqlKey")
30-
cosmos_db_no_sql_database: str
31-
3232
@classmethod
3333
def settings_customise_sources(
3434
cls,

0 commit comments

Comments
 (0)