add autopep8 formatting

This commit is contained in:
2025-12-10 02:51:46 +01:00
parent 9242b02957
commit 59183e7021
10 changed files with 43 additions and 16 deletions

View File

@@ -1,16 +1,20 @@
from pydantic import Field
from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
jellyfin_server_url: str = Field(..., env="JELLYFIN_SERVER_URL")
jellyfin_username: str = Field(..., env="JELLYFIN_USERNAME")
jellyfin_password: str = Field(..., env="JELLYFIN_PASSWORD")
jellyfin_auth_timeout: int = Field(10 * 60, env="JELLYFIN_AUTH_TIMEOUT") # default 10 minutes
jellyfin_auth_timeout: int = Field(
10 * 60, env="JELLYFIN_AUTH_TIMEOUT") # default 10 minutes
discord_app_id: str = Field(..., env="DISCORD_APP_ID")
poll_interval: int = Field(15, env="POLL_INTERVAL") # default 15 seconds
model_config = SettingsConfigDict(env_file=".env", env_file_encoding="utf-8")
model_config = SettingsConfigDict(
env_file=".env", env_file_encoding="utf-8")
settings = Settings()