refactor(automations): extract dispatch_run; move manual adapter under triggers/manual/dispatch.py

This commit is contained in:
CREDO23 2026-05-27 17:20:23 +02:00
parent 8c32455818
commit 861b91004d
6 changed files with 97 additions and 56 deletions

View file

@ -1,8 +1,8 @@
"""Public dispatch surface for firing automations."""
"""Generic dispatch primitives shared across trigger types."""
from .manual import DispatchError, dispatch_manual_run
from __future__ import annotations
__all__ = [
"DispatchError",
"dispatch_manual_run",
]
from .errors import DispatchError
from .run import dispatch_run
__all__ = ["DispatchError", "dispatch_run"]