perf: Automation execution

This commit is contained in:
feng
2025-03-17 17:26:09 +08:00
parent b7820c6a5b
commit 424ef4d9a5
9 changed files with 53 additions and 27 deletions

View File

@@ -13,6 +13,6 @@ def quickstart_automation_by_snapshot(task_name, tp, task_snapshot=None):
data['id'] = str(uuid.uuid4())
execution = AutomationExecution.objects.create(
trigger=Trigger.manual, **data
type=tp, trigger=Trigger.manual, **data
)
execution.start()