format files

This commit is contained in:
maxDorninger
2025-07-01 16:03:17 +02:00
parent 27c3c58cd9
commit efc3846860
18 changed files with 118 additions and 121 deletions

View File

@@ -10,15 +10,20 @@ class EmailConfig(BaseSettings):
from_email: str
use_tls: bool = False
class NotificationConfig(BaseSettings):
model_config = SettingsConfigDict(env_prefix="NOTIFICATION_")
email: str|None = None # the email address to send notifications to
email: str | None = None # the email address to send notifications to
ntfy_url: str|None = None # e.g. https://ntfy.sh/your-topic (note lack of trailing slash)
ntfy_url: str | None = (
None # e.g. https://ntfy.sh/your-topic (note lack of trailing slash)
)
pushover_api_key : str|None = None
pushover_user: str|None = None
pushover_api_key: str | None = None
pushover_user: str | None = None
gotify_api_key: str|None = None
gotify_url: str|None = None # e.g. https://gotify.example.com (note lack of trailing slash)
gotify_api_key: str | None = None
gotify_url: str | None = (
None # e.g. https://gotify.example.com (note lack of trailing slash)
)