mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-04 00:44:48 +00:00
perf: 修改 platform serializer
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
|
||||
import uuid
|
||||
|
||||
from assets.tasks.common import generate_data
|
||||
from assets.tasks.common import generate_automation_execution_data
|
||||
from common.const.choices import Trigger
|
||||
|
||||
|
||||
def automation_execute_start(task_name, tp, child_snapshot=None):
|
||||
from accounts.models import AutomationExecution
|
||||
data = generate_data(task_name, tp, child_snapshot)
|
||||
data = generate_automation_execution_data(task_name, tp, child_snapshot)
|
||||
|
||||
while True:
|
||||
try:
|
||||
|
Reference in New Issue
Block a user