mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-29 19:35:20 +02:00
refactor(automations): bind action handlers via ActionContext factory
This commit is contained in:
parent
f646b5cbab
commit
7ec3468113
6 changed files with 65 additions and 15 deletions
|
|
@ -3,8 +3,10 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from .actions import (
|
||||
ActionContext,
|
||||
ActionDefinition,
|
||||
ActionHandler,
|
||||
ActionHandlerFactory,
|
||||
all_actions,
|
||||
get_action,
|
||||
register_action,
|
||||
|
|
@ -17,8 +19,10 @@ from .triggers import (
|
|||
)
|
||||
|
||||
__all__ = [
|
||||
"ActionContext",
|
||||
"ActionDefinition",
|
||||
"ActionHandler",
|
||||
"ActionHandlerFactory",
|
||||
"TriggerDefinition",
|
||||
"all_actions",
|
||||
"all_triggers",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue