Skip to main content

BaseStorageClient

Defines an abstract base for storage clients.

It offers interfaces to get subclients for interacting with storage resources like datasets, key-value stores, and request queues.

Hierarchy

Index

Methods

dataset

  • Gets a subclient for a specific dataset by its ID.


    Parameters

    • id: str

    Returns BaseDatasetClient

datasets

key_value_store

key_value_stores

purge_on_start

  • async purge_on_start(): None
  • Performs a purge of the default storages.

    This method ensures that the purge is executed only once during the lifetime of the instance. It is primarily used to clean up residual data from previous runs to maintain a clean state. If the storage client does not support purging, leave it empty.


    Returns None

request_queue

request_queues