Initial commit
This commit is contained in:
commit
8b18f2439c
13 changed files with 960 additions and 0 deletions
11
schemas/token_schemas.py
Normal file
11
schemas/token_schemas.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from typing import Optional
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class TokenData(BaseModel):
|
||||
username: Optional[str] = None
|
||||
|
||||
|
||||
class Status(BaseModel):
|
||||
message: str
|
Loading…
Add table
Add a link
Reference in a new issue