You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
609 B
Python
32 lines
609 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
Pydantic 数据模型模块
|
|
定义 API 请求和响应的数据结构
|
|
"""
|
|
|
|
from api.schemas.request import OCRRequestBase64, OCRRequestParams, ROIParams
|
|
from api.schemas.response import (
|
|
ErrorDetail,
|
|
ExpressInfoData,
|
|
ExpressResponse,
|
|
HealthResponse,
|
|
OCRResponse,
|
|
OCRResultData,
|
|
TextBlockData,
|
|
)
|
|
|
|
__all__ = [
|
|
# Request
|
|
"OCRRequestBase64",
|
|
"OCRRequestParams",
|
|
"ROIParams",
|
|
# Response
|
|
"OCRResponse",
|
|
"OCRResultData",
|
|
"TextBlockData",
|
|
"ExpressResponse",
|
|
"ExpressInfoData",
|
|
"HealthResponse",
|
|
"ErrorDetail",
|
|
]
|