mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-29 19:35:20 +02:00
refactor(automation): drop Capability registry
This commit is contained in:
parent
9fa35f21cf
commit
7ac99b89a0
6 changed files with 3 additions and 70 deletions
|
|
@ -1,4 +1,4 @@
|
|||
"""Capability, action, and trigger registries — populated at process startup."""
|
||||
"""Action and trigger registries — populated at process startup."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
|
@ -9,13 +9,6 @@ from .actions import (
|
|||
get_action,
|
||||
register_action,
|
||||
)
|
||||
from .capabilities import (
|
||||
Capability,
|
||||
CapabilityHandler,
|
||||
all_capabilities,
|
||||
get_capability,
|
||||
register_capability,
|
||||
)
|
||||
from .triggers import (
|
||||
TriggerDefinition,
|
||||
all_triggers,
|
||||
|
|
@ -26,16 +19,11 @@ from .triggers import (
|
|||
__all__ = [
|
||||
"ActionDefinition",
|
||||
"ActionHandler",
|
||||
"Capability",
|
||||
"CapabilityHandler",
|
||||
"TriggerDefinition",
|
||||
"all_actions",
|
||||
"all_capabilities",
|
||||
"all_triggers",
|
||||
"get_action",
|
||||
"get_capability",
|
||||
"get_trigger",
|
||||
"register_action",
|
||||
"register_capability",
|
||||
"register_trigger",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue