add documentation

This commit is contained in:
2025-12-10 03:45:39 +01:00
parent 4a33281ca4
commit aa2e450454
4 changed files with 94 additions and 1 deletions

View File

@@ -3,6 +3,9 @@ from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
"""
Application settings loaded from environment variables or a .env file.
"""
jellyfin_server_url: str = Field(..., env="JELLYFIN_SERVER_URL")
jellyfin_username: str = Field(..., env="JELLYFIN_USERNAME")
jellyfin_password: str = Field(..., env="JELLYFIN_PASSWORD")