Skip to main content

StorageClientManager

crawlee.storage_client_manager.StorageClientManager

A class for managing storage clients.

Index

Methods

get_storage_client

  • get_storage_client(*, in_cloud): BaseStorageClient
  • Get the storage client instance for the current environment.


    Parameters

    • in_cloud: bool = Falsekeyword-only

    Returns BaseStorageClient

set_cloud_client

  • set_cloud_client(cloud_client): None
  • Set the cloud storage client instance.


    Parameters

    • cloud_client: BaseStorageClient

    Returns None

set_local_client

  • set_local_client(local_client): None
  • Set the local storage client instance.


    Parameters

    • local_client: BaseStorageClient

    Returns None