Spaces:
Build error
Build error
File size: 222 Bytes
b7a7f32 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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
|