mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-31 19:45:15 +02:00
refactor(automations): extract dispatch_run; move manual adapter under triggers/manual/dispatch.py
This commit is contained in:
parent
8c32455818
commit
861b91004d
6 changed files with 97 additions and 56 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue