Skip to main content

BaseRequestQueueCollectionClient

crawlee.base_storage_client.base_request_queue_collection_client.BaseRequestQueueCollectionClient

Abstract base class for request queue collection clients.

This collection client handles operations that involve multiple instances of a given resource type.

Index

Methods

get_or_create

  • async get_or_create(*, id, name, schema): RequestQueueMetadata
  • Retrieve an existing request queue by its name or ID, or create a new one if it does not exist.


    Parameters

    • id: str | None = Nonekeyword-only
    • name: str | None = Nonekeyword-only
    • schema: dict | None = Nonekeyword-only

    Returns RequestQueueMetadata

list

  • async list(*, unnamed, limit, offset, desc): RequestQueueListPage
  • List the available request queues.


    Parameters

    • unnamed: bool = Falsekeyword-only
    • limit: int | None = Nonekeyword-only
    • offset: int | None = Nonekeyword-only
    • desc: bool = Falsekeyword-only

    Returns RequestQueueListPage