Skip to main content

RequestQueueCollectionClient

Subclient for manipulating request queues.

Hierarchy

Index

Methods

__init__

  • __init__(*, memory_storage_client): None

get_or_create

  • Retrieve an existing request queue by its name or ID, or create a new one if it does not exist.


    Parameters

    • optionalkeyword-onlyid: str | None = None

      Optional ID of the request queue to retrieve or create. If provided, the method will attempt to find a request queue with the ID.

    • optionalkeyword-onlyname: str | None = None

      Optional name of the request queue resource to retrieve or create. If provided, the method will attempt to find a request queue with this name.

    • optionalkeyword-onlyschema: dict | None = None

      Optional schema for the request queue resource to be created.

    Returns RequestQueueMetadata

list

  • List the available request queues.


    Parameters

    • optionalkeyword-onlyunnamed: bool = False

      Whether to list only the unnamed request queues.

    • optionalkeyword-onlylimit: int | None = None

      Maximum number of request queues to return.

    • optionalkeyword-onlyoffset: int | None = None

      Number of request queues to skip from the beginning of the list.

    • optionalkeyword-onlydesc: bool = False

      Whether to sort the request queues in descending order.

    Returns RequestQueueListPage

Page Options