tensorbay.client.cloud_storage

Class CloudClient.

The CloudClient defines the initial client to interact between local and cloud platform.

class tensorbay.client.cloud_storage.CloudClient(name: str, client: tensorbay.client.requests.Client)[source]

Bases: object

CloudClient defines the client to interact between local and cloud platform.

Parameters
  • name – Name of the auth cloud storage config.

  • client – The initial client to interact between local and TensorBay.

list_auth_data(path: str = '') List[tensorbay.dataset.data.AuthData][source]

List all cloud files in the given directory as AuthData.

Parameters

path – The directory path on the cloud platform.

Returns

The list of AuthData of all the cloud files.