fix rate_limit tests and add prod_mode to env

This commit is contained in:
2026-09-05 23:02:42 +03:00
parent 5cdcd342dc
commit ba5e90c516
4 changed files with 9 additions and 5 deletions
+2
View File
@@ -20,6 +20,8 @@ class Env(Base):
REDIS_PORT:int
REDIS_HOST:str
PROD_MODE:bool
model_config=SettingsConfigDict(env_file="configs/.env", extra=None)
env_settings=Env() # type: ignore[call-arg]