Skip to content

Commit 64ce995

Browse files
committed
fix(ci): fix attempt at installation errors
- added default values for settings config
1 parent fb907c0 commit 64ce995

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/config/config.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33

44

55
class Settings(BaseSettings):
6-
allowed_origins: str
7-
allowed_hosts: str
8-
host: str
9-
port: int
10-
reload_value: str
11-
telex_webhook_url: str
6+
allowed_origins: str = "http://test"
7+
allowed_hosts: str = "test"
8+
host: str = "127.0.0.1"
9+
port: int = 8000
10+
reload_value: str = "true"
11+
telex_webhook_url: str = "https://example.com/telex"
1212
curl_command: str | None = "curl" # might require path/to/curl e.g. `/usr/bin/curl`
13-
app_logo_url: str
14-
app_url: str
15-
target_url: str
16-
background_color_hexcode: str
13+
app_logo_url: str = "https://example.com/logo.png"
14+
app_url: str = "https://example.com"
15+
target_url: str = "https://example.com/target"
16+
background_color_hexcode: str = "#FFFFFF"
1717

1818
model_config = SettingsConfigDict(env_file=".env")
1919

0 commit comments

Comments
 (0)