Files
MediaManager/media_manager/database/config.py
Marcel Hellwig 5368cad77a ruff: add S linter
this mostly adds a timeout=60 to all requests

this does mainly wants a timeout to all requests functions, since when
left out they hang infinitly.
I added a timeout of 60s, which is probably way too high, but since
before this there was none, I guess it's an improvement?
2026-01-05 19:30:42 +01:00

10 lines
237 B
Python

from pydantic_settings import BaseSettings
class DbConfig(BaseSettings):
host: str = "localhost"
port: int = 5432
user: str = "MediaManager"
password: str = "MediaManager" # noqa: S105
dbname: str = "MediaManager"