celery.backends.couchbase

Couchbase result store backend.

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

Couchbase backend.

Исключение:

celery.exceptions.ImproperlyConfigured – if module couchbase is not available.

bucket = 'default'
property connection
delete(key)[исходный код]
get(key)[исходный код]
host = 'localhost'
key_t

alias of str

mget(keys)[исходный код]
password = None
port = 8091
quiet = False
set(key, value)[исходный код]
supports_autoexpire = True

If true the backend must automatically expire results. The daily backend_cleanup periodic task won’t be triggered in this case.

timeout = 2.5
username = None
Вернуться на верх