dify/api/events/app_event.py

14 lines
440 B
Python
Raw Normal View History

2023-05-15 08:51:32 +08:00
from blinker import signal
# sender: app
app_was_created = signal("app-was-created")
2023-05-15 08:51:32 +08:00
# sender: app, kwargs: app_model_config
app_model_config_was_updated = signal("app-model-config-was-updated")
# sender: app, kwargs: published_workflow
app_published_workflow_was_updated = signal("app-published-workflow-was-updated")
# sender: app, kwargs: synced_draft_workflow
app_draft_workflow_was_synced = signal("app-draft-workflow-was-synced")