feat(s52): export Notifier public contract + sync extending.md B11

This commit is contained in:
Kjell Tore Guttormsen 2026-07-16 19:53:57 +02:00
commit b84f4d46bb
3 changed files with 48 additions and 2 deletions

View file

@ -8,6 +8,16 @@ from portfolio_optimiser.ledger import (
SavingsLedger,
realize,
)
from portfolio_optimiser.notify import (
ConsoleNotifier,
FileNotifier,
Notifier,
NotifierConfig,
NotifyError,
NotifyRefused,
WebhookNotifier,
build_notifier,
)
from portfolio_optimiser.run import (
GoalReached,
PortfolioResult,
@ -35,5 +45,14 @@ __all__ = [
"GoalConfig",
"load_goal_config",
"GoalReached",
# S5.2 varsling (B11): the declared Notifier contract + deliverable implementations
"Notifier",
"ConsoleNotifier",
"FileNotifier",
"WebhookNotifier",
"build_notifier",
"NotifierConfig",
"NotifyError",
"NotifyRefused",
"__version__",
]