1df4b11aef
CI / lint-test-build (push) Failing after 1m7s
- Introduced new HTML templates for the dashboard, metrics, overview, and backtesting functionalities. - Implemented partial templates for metrics, overview, audit, controls, and charts to enhance modularity. - Updated the Jinja2 template resolution logic to support different deployment environments. - Added a health check template to display the service status. - Included a test suite to verify the template resolution logic. - Updated `pyproject.toml` to include new HTML templates in the package data.
26 lines
545 B
Python
26 lines
545 B
Python
"""Alerting primitives and channel clients."""
|
|
|
|
from arbitrade.alerting.notifier import (
|
|
AlertEvent,
|
|
AlertNotifier,
|
|
AlertSeverity,
|
|
DiscordWebhookChannel,
|
|
EmailSmtpChannel,
|
|
SupportsAlertStatus,
|
|
TelegramChannel,
|
|
build_channels_from_settings,
|
|
dispatch_alert_nowait,
|
|
)
|
|
|
|
__all__ = [
|
|
"AlertEvent",
|
|
"AlertNotifier",
|
|
"AlertSeverity",
|
|
"DiscordWebhookChannel",
|
|
"EmailSmtpChannel",
|
|
"SupportsAlertStatus",
|
|
"TelegramChannel",
|
|
"build_channels_from_settings",
|
|
"dispatch_alert_nowait",
|
|
]
|