mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-10-01 00:05:20 +00:00
11 lines
251 B
Python
11 lines
251 B
Python
from pydantic import Field
|
|
|
|
from backend.common.schema import SchemaBase
|
|
|
|
|
|
class GetTaskRegisteredDetail(SchemaBase):
|
|
"""已注册任务详情"""
|
|
|
|
name: str = Field(description='任务名称')
|
|
task: str = Field(description='任务函数')
|