mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 15:36:00 +08:00
feat(api): Save output variables as draft variables in single stepping
This commit is contained in:
parent
f3fc3cf530
commit
392ad17497
@ -1,12 +1,12 @@
|
||||
import json
|
||||
import logging
|
||||
import time
|
||||
from collections.abc import Callable, Generator, Sequence
|
||||
from datetime import UTC, datetime
|
||||
from inspect import isgenerator
|
||||
from typing import Any, Optional
|
||||
from uuid import uuid4
|
||||
|
||||
import time
|
||||
from sqlalchemy import select
|
||||
from sqlalchemy.orm import Session
|
||||
|
||||
@ -40,6 +40,7 @@ from models.workflow import (
|
||||
)
|
||||
from services.errors.app import IsDraftWorkflowError, WorkflowHashNotEqualError
|
||||
from services.workflow.workflow_converter import WorkflowConverter
|
||||
|
||||
from .errors.workflow_service import DraftWorkflowDeletionError, WorkflowInUseError
|
||||
from .workflow_draft_variable_service import WorkflowDraftVariableService, should_save_output_variables_for_draft
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user