l.s.t.w.ITemporaryStorageManager(Interface) : interface documentation

Part of lp.services.temporaryblobstorage.webservice View In Hierarchy

A tool to create temporary blobs.
Method new Create a new blob for storage in the database, returning the
Method fetch Retrieve a TemporaryBlobStorage by uuid.
Method delete Delete a TemporaryBlobStorage by uuid.
Method default_temporary_blob_storage_list Return an empty set - only exists to keep lazr.restful happy.
def new(blob, expires=None):
Create a new blob for storage in the database, returning the UUID assigned to it.

May raise a BlobTooLarge exception.

Default expiry timestamp is calculated using config.launchpad.default_blob_expiry

@rename_parameters_as('token')
@operation_parameters(copy_field(ITemporaryBlobStorage['uuid']))
@export_read_operation()
def fetch(uuid):
Retrieve a TemporaryBlobStorage by uuid.
def delete(uuid):
Delete a TemporaryBlobStorage by uuid.
@collection_default_content()
def default_temporary_blob_storage_list():
Return an empty set - only exists to keep lazr.restful happy.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.