This commit is contained in:
jiangbo721 2025-03-21 13:26:14 +08:00 committed by GitHub
commit 42ce0b4624
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -181,7 +181,7 @@ class AppCopyApi(Resource):
account = cast(Account, current_user)
result = import_service.import_app(
account=account,
import_mode=ImportMode.YAML_CONTENT.value,
import_mode=ImportMode.YAML_CONTENT,
yaml_content=yaml_content,
name=args.get("name"),
description=args.get("description"),

View File

@ -12,8 +12,9 @@ from core.tools.entities.tool_bundle import ApiToolBundle
from core.tools.entities.tool_entities import ApiProviderSchemaType, WorkflowToolParameterConfiguration
from models.base import Base
from .account import Tenant
from .engine import db
from .model import Account, App, Tenant
from .model import Account, App
from .types import StringUUID