Skip to main content

SessionModel

Model for a Session object.

Index

Errors

error_score

error_score: float

error_score_decrement

error_score_decrement: float

max_error_score

max_error_score: float

Methods

parse_max_age

  • parse_max_age(*, value): timedelta
  • Try to parse max_age field into a timedelta object.


    Parameters

    • optionalkeyword-onlyvalue: Any

    Returns timedelta

Properties

blocked_status_codes

blocked_status_codes: list[int]

cookies

cookies: dict

created_at

created_at: datetime

id

id: str

max_age

max_age: timedelta

max_usage_count

max_usage_count: int

model_config

model_config: Undefined

usage_count

usage_count: int

user_data

user_data: dict