MCPcopy
hub / github.com/sml2h3/ddddocr / APIResponse

Class APIResponse

ddddocr/api/models.py:63–67  ·  view source on GitHub ↗

API响应基础模型

Source from the content-addressed store, hash-verified

61
62
63class APIResponse(BaseModel):
64 """API响应基础模型"""
65 success: bool = Field(..., description="请求是否成功")
66 message: str = Field("", description="响应消息")
67 data: Optional[Any] = Field(None, description="响应数据")
68
69
70class StatusResponse(BaseModel):

Callers 7

initializeFunction · 0.85
switch_modelFunction · 0.85
toggle_featureFunction · 0.85
ocr_recognitionFunction · 0.85
object_detectionFunction · 0.85
slide_matchFunction · 0.85
slide_comparisonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…