suna/backend/triggers/__init__.py

29 lines
560 B
Python
Raw Normal View History

2025-07-28 18:16:29 +08:00
# Import from new simplified service files
from .trigger_service import (
Trigger,
TriggerEvent,
TriggerResult,
TriggerType,
get_trigger_service
)
from .provider_service import (
TriggerProvider,
get_provider_service
)
from .execution_service import (
get_execution_service
)
2025-06-30 18:57:34 +08:00
__all__ = [
2025-07-28 18:16:29 +08:00
# Domain objects
2025-07-14 19:49:18 +08:00
'Trigger',
'TriggerEvent',
2025-06-30 18:57:34 +08:00
'TriggerResult',
2025-07-14 19:49:18 +08:00
'TriggerType',
2025-07-28 18:16:29 +08:00
'TriggerProvider',
# Service factories
'get_trigger_service',
'get_provider_service',
'get_execution_service'
2025-06-30 18:57:34 +08:00
]