Skip to main content

RequestQueueHead

Model for request queue head.

Represents a collection of requests retrieved from the beginning of a queue, including metadata about the queue's state and lock information for the requests.

Index

Properties

had_multiple_clients

had_multiple_clients: bool

Indicates whether the queue has been accessed by multiple clients (consumers).

items

items: list[Request]

The list of request objects retrieved from the beginning of the queue.

limit

limit: int | None

The maximum number of requests that were requested from the queue.

lock_time

lock_time: timedelta | None

The duration for which the returned requests are locked and cannot be processed by other clients.

model_config

model_config: Undefined

queue_has_locked_requests

queue_has_locked_requests: bool | None

Indicates whether the queue contains any locked requests.

queue_modified_at

queue_modified_at: datetime

The timestamp when the queue was last modified.