Skip to main content

LockedRequestQueueHead

A batch of locked requests from the request queue head.

Index

Properties

client_key

client_key: str | None

The client key used for locking the requests.

had_multiple_clients

had_multiple_clients: bool

Whether the request queue has been accessed by multiple different clients.

items

The array of locked requests from the request queue head.

limit

limit: int

The maximum number of requests returned.

lock_secs

lock_secs: int

The number of seconds the locks will be held.

model_config

model_config: Undefined

queue_has_locked_requests

queue_has_locked_requests: bool | None

Whether the request queue contains requests locked by any client (either the one calling the endpoint or a different one).

queue_modified_at

queue_modified_at: AwareDatetime

The timestamp when the request queue was last modified. Modifications include adding, updating, or removing requests, as well as locking or unlocking requests.