11 lines
No EOL
168 B
Python
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 |