Source code for kittycad.models.session

import datetime

from pydantic import BaseModel, ConfigDict

from ..models.session_uuid import SessionUuid
from ..models.uuid import Uuid


[docs] class Session(BaseModel): """An authentication session.""" created_at: datetime.datetime expires: datetime.datetime id: Uuid session_token: SessionUuid updated_at: datetime.datetime user_id: Uuid model_config = ConfigDict(protected_namespaces=())