celery.backends.azureblockblob

The Azure Storage Block Blob backend for Celery.

class celery.backends.azureblockblob.AzureBlockBlobBackend(url=None, container_name=None, *args, **kwargs)[исходный код]

Azure Storage Block Blob backend for Celery.

as_uri(include_password=False)[исходный код]

Return the backend as an URI, sanitizing the password or not.

delete(key)[исходный код]

Delete the value at a given key.

Параметры:

key – The key of the value to delete.

get(key)[исходный код]

Read the value stored at the given key.

Параметры:

key – The key for which to read the value.

mget(keys)[исходный код]

Read all the values for the provided keys.

Параметры:

keys – The list of keys to read.

set(key, value)[исходный код]

Store a value for a given key.

Параметры:
  • key – The key at which to store the value.

  • value – The value to store.

Back to Top