ashwinR's picture
Upload 245 files
b7a7f32
raw
history blame
222 Bytes
from typing import Optional
from pydantic import BaseModel
class Token(BaseModel):
session: str
class TokenPayload(BaseModel):
sub: Optional[int] = None
class SessionToken(BaseModel):
session_token: str