ts-lyceum-back/schemas/token_schemas.py
2023-11-30 21:01:57 +03:00

11 lines
No EOL
168 B
Python

from typing import Optional
from pydantic import BaseModel
class TokenData(BaseModel):
username: Optional[str] = None
class Status(BaseModel):
message: str