mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 05:02:49 +00:00
* Update return model of query interface * Update tree data return type hints * Update code generation and task return types * Fix inconsistency between ORM query result and schema
11 lines
265 B
Python
11 lines
265 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
from pydantic import Field
|
|
|
|
from backend.common.schema import SchemaBase
|
|
|
|
|
|
class GetCaptchaDetail(SchemaBase):
|
|
image_type: str = Field(description='图片类型')
|
|
image: str = Field(description='图片内容')
|