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, client)[source]

Bases: object

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

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

  • client (tensorbay.client.requests.Client) – The initial client to interact between local and TensorBay.

Return type

None

list_auth_data(path='')[source]

List all cloud files in the given directory as AuthData.

Parameters

path (str) – The directory path on the cloud platform.

Returns

The list of AuthData of all the cloud files.

Return type

List[tensorbay.dataset.data.AuthData]