0Mart00 commited on
Commit ·
a19cdb5
1
Parent(s): d2f5a24
Fix config validation for optional Paddle settings
Browse files
src/wordgame/core/config.py
CHANGED
|
@@ -43,9 +43,9 @@ class Settings(BaseSettings):
|
|
| 43 |
# External APIs
|
| 44 |
SLANG_WORDS_URL: str = "https://raw.githubusercontent.com/Ashpex/Slang-Word/refs/heads/master/slang.txt"
|
| 45 |
|
| 46 |
-
# Payment
|
| 47 |
-
PADDLE_VENDOR_ID:
|
| 48 |
-
PADDLE_API_KEY:
|
| 49 |
|
| 50 |
model_config = {
|
| 51 |
"env_file": ".env",
|
|
|
|
| 43 |
# External APIs
|
| 44 |
SLANG_WORDS_URL: str = "https://raw.githubusercontent.com/Ashpex/Slang-Word/refs/heads/master/slang.txt"
|
| 45 |
|
| 46 |
+
# Payment (optional) - stored as strings to handle empty .env values
|
| 47 |
+
PADDLE_VENDOR_ID: str = ""
|
| 48 |
+
PADDLE_API_KEY: str = ""
|
| 49 |
|
| 50 |
model_config = {
|
| 51 |
"env_file": ".env",
|