Files
thisORthat/app/schemas/api_schemas.py
T
2025-02-17 14:54:10 +03:00

16 lines
250 B
Python

import typing
from pydantic import BaseModel
class BaseResponse(BaseModel):
result: typing.Any
error: bool = False
class AddUserBody(BaseModel):
user_id: int
username: str
first_name: str
last_name: str
photo_url: str