Source code for kittycad.models.session

import datetime

from pydantic import BaseModel, ConfigDict

from ..models.session_token_uuid import SessionTokenUuid
from ..models.uuid import Uuid


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