mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-20 01:54:16 +02:00
format files
This commit is contained in:
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user