Merge e45e96d918
into a30945312a
This commit is contained in:
commit
42ce0b4624
@ -181,7 +181,7 @@ class AppCopyApi(Resource):
|
|||||||
account = cast(Account, current_user)
|
account = cast(Account, current_user)
|
||||||
result = import_service.import_app(
|
result = import_service.import_app(
|
||||||
account=account,
|
account=account,
|
||||||
import_mode=ImportMode.YAML_CONTENT.value,
|
import_mode=ImportMode.YAML_CONTENT,
|
||||||
yaml_content=yaml_content,
|
yaml_content=yaml_content,
|
||||||
name=args.get("name"),
|
name=args.get("name"),
|
||||||
description=args.get("description"),
|
description=args.get("description"),
|
||||||
|
@ -12,8 +12,9 @@ from core.tools.entities.tool_bundle import ApiToolBundle
|
|||||||
from core.tools.entities.tool_entities import ApiProviderSchemaType, WorkflowToolParameterConfiguration
|
from core.tools.entities.tool_entities import ApiProviderSchemaType, WorkflowToolParameterConfiguration
|
||||||
from models.base import Base
|
from models.base import Base
|
||||||
|
|
||||||
|
from .account import Tenant
|
||||||
from .engine import db
|
from .engine import db
|
||||||
from .model import Account, App, Tenant
|
from .model import Account, App
|
||||||
from .types import StringUUID
|
from .types import StringUUID
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user