Stage 04.3 - repositories, balance snapshots and environment mode fix

This commit is contained in:
2026-04-16 19:54:04 +03:00
parent 2c49bb70c0
commit 76fc122955
9 changed files with 262 additions and 8 deletions

View File

@@ -26,6 +26,8 @@ class Settings:
db_name: str
db_user: str
db_password: str
def is_demo_mode(self) -> bool:
return "demo" in self.exchange_base_url.lower()
def _parse_bool(raw_value: str, default: bool = False) -> bool:
value = (raw_value or "").strip().lower()
if not value: