Files
kittycad.py/kittycad/models/session.py
Jess Frazelle bc3d698539 switch to pydantic
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2023-11-28 23:50:50 -08:00

24 lines
367 B
Python

import datetime
from pydantic import BaseModel
from ..models.uuid import Uuid
class Session(BaseModel):
"""An authentication session.
For our UIs, these are automatically created by Next.js."""
created_at: datetime.datetime
expires: datetime.datetime
id: Uuid
session_token: Uuid
updated_at: datetime.datetime
user_id: Uuid