feat(core): Add common schemas

This commit is contained in:
Fangyin Cheng
2024-03-21 11:23:24 +08:00
parent ab3e8e54a1
commit b4b810d68f
18 changed files with 188 additions and 123 deletions

View File

@@ -1,9 +1,10 @@
"""App Client API."""
from typing import List
from dbgpt.client import Client, ClientException
from dbgpt.client.schemas import AppModel
from dbgpt.serve.core import Result
from dbgpt.core.schema.api import Result
from .client import Client, ClientException
from .schema import AppModel
async def get_app(client: Client, app_id: str) -> AppModel: