You've already forked DataMate
feat: data annotation page adaptation to backend API. Improve labeling project creation module.
* feat: data annotation page adaptation to the backend API. * feat: Implement labeling configuration editor and enhance annotation task creation form
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
from .config import ConfigResponse
|
||||
from .health import HealthResponse
|
||||
|
||||
__all__ = ["ConfigResponse", "HealthResponse"]
|
||||
__all__ = ["HealthResponse"]
|
||||
@@ -1,11 +0,0 @@
|
||||
from pydantic import Field
|
||||
|
||||
from app.module.shared.schema import BaseResponseModel
|
||||
from app.module.shared.schema import StandardResponse
|
||||
|
||||
class ConfigResponse(BaseResponseModel):
|
||||
"""配置信息响应模型"""
|
||||
app_name: str = Field(..., description="应用名称")
|
||||
version: str = Field(..., description="应用版本")
|
||||
label_studio_url: str = Field(..., description="Label Studio基础URL")
|
||||
debug: bool = Field(..., description="调试模式状态")
|
||||
Reference in New Issue
Block a user