Skip to main content

KeyValueStoreCollectionClient

Key-value store collection resource client implementation based on the Apify platform storage.

Index

Methods

__init__

  • __init__(*, apify_dataset_collection_client): None
  • Parameters

    • optionalkeyword-onlyapify_dataset_collection_client: KeyValueStoreCollectionClientAsync

    Returns None

get_or_create

  • async get_or_create(*, id, name, schema): KeyValueStoreMetadata
  • Parameters

    • optionalkeyword-onlyid: str | None = None
    • optionalkeyword-onlyname: str | None = None
    • optionalkeyword-onlyschema: dict | None = None

    Returns KeyValueStoreMetadata

list

  • async list(*, unnamed, limit, offset, desc): KeyValueStoreListPage
  • Parameters

    • optionalkeyword-onlyunnamed: bool = False
    • optionalkeyword-onlylimit: int | None = None
    • optionalkeyword-onlyoffset: int | None = None
    • optionalkeyword-onlydesc: bool = False

    Returns KeyValueStoreListPage

Page Options