harp_apps.storage.types.blob_storage

Inheritance diagram of harp_apps.storage.types.blob_storage

class IBlobStorage[source]

Bases: Protocol

__init__(*args, **kwargs)
async delete(blob_id)[source]
Parameters:

blob_id (str)

async exists(blob_id)[source]
Parameters:

blob_id (str)

Return type:

bool

async force_put(blob)[source]
Parameters:

blob (Blob)

Return type:

Blob

async get(blob_id)[source]
Parameters:

blob_id (str)

async put(blob)[source]
Parameters:

blob (Blob)

Return type:

Blob

type: str