TOS 查数据使用图片回复

This commit is contained in:
2024-05-19 15:04:42 +08:00
parent 48b200697c
commit 43970f4853
7 changed files with 187 additions and 39 deletions

View File

@@ -2,6 +2,8 @@ from typing import Literal
from pydantic import BaseModel
from ...typing import Number
class Avatar(BaseModel):
type: Literal['identicon']
@@ -11,3 +13,8 @@ class Avatar(BaseModel):
class People(BaseModel):
avatar: str | Avatar
name: str
class Ranking(BaseModel):
rating: Number
rd: Number