squid_py.assets.asset_consumer module

class squid_py.assets.asset_consumer.AssetConsumer

Bases: object

static download(service_agreement_id, service_index, ddo, consumer_account, destination, brizo, secret_store, index=None)

Download asset data files or result files from a compute job.

Parameters
  • service_agreement_id – Service agreement id, str

  • service_index – identifier of the service inside the asset DDO, str

  • ddo – DDO

  • consumer_account – Account instance of the consumer

  • destination – Path, str

  • brizo – Brizo instance

  • secret_store – SecretStore instance

  • index – Index of the document that is going to be downloaded, int

Returns

Asset folder path, str