Skip to main content

SessionPoolModel

crawlee.sessions.models.SessionPoolModel

Model for a SessionPool object.

Index

Properties

max_pool_size

max_pool_size: Annotated[int, Field(alias='maxPoolSize')]

model_config

model_config:

persist_state_key

persist_state_key: Annotated[str, Field(alias='persistStateKey')]

persist_state_kvs_name

persist_state_kvs_name: Annotated[str, Field(alias='persistStateKvsName')]

persistence_enabled

persistence_enabled: Annotated[bool, Field(alias='persistenceEnabled')]

retired_session_count

retired_session_count: Annotated[int, Field(alias='retiredSessionCount')]

session_count

session_count: Annotated[int, Field(alias='sessionCount')]

sessions

sessions: Annotated[list[SessionModel], Field(alias='sessions')]

usable_session_count

usable_session_count: Annotated[int, Field(alias='usableSessionCount')]