Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
ashwinR
/
Gurucool_Test
like
0
Build error
App
Files
Files
Community
e2a3c25
Gurucool_Test
/
schemas
/
token.py
ashwinR
Upload 245 files
b7a7f32
over 1 year ago
raw
Copy download link
history
blame
Safe
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