mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-20 12:08:09 +08:00
13 lines
216 B
Python
13 lines
216 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class Response(BaseModel):
|
|
# 状态
|
|
success: bool
|
|
# 消息文本
|
|
message: Optional[str] = None
|
|
# 数据
|
|
data: Optional[dict] = {}
|