Skip to main content

RequestDb

Requests table for request queues.

Hierarchy

Index

Properties

__table_args__

__table_args__: Undefined

__tablename__

__tablename__: Undefined

client_key

client_key: Mapped[str | None]

Identifier of the client that has currently locked this request for processing.

data

data: Mapped[str]

JSON-serialized Request object.

is_handled

is_handled: Mapped[bool]

Processing status flag.

queue

queue: Mapped[RequestQueueMetadataDb]

request_id

request_id: Mapped[int]

Unique identifier for the request representing the unique_key.

request_queue_id

request_queue_id: Mapped[str]

Foreign key to metadata request queue record.

sequence_number

sequence_number: Mapped[int]

Ordering sequence: negative for forefront, positive for regular.

storage_id

storage_id: Undefined

Alias for request_queue_id to match SqlClientMixin expectations.

time_blocked_until

time_blocked_until: Mapped[datetime | None]

Timestamp until which this request is considered blocked for processing by other clients.