celery.backends.couchbase

Couchbase result store backend.

class celery.backends.couchbase.CouchbaseBackend(url=None, *args, **kwargs)[源代码]

Couchbase backend.

抛出:

celery.exceptions.ImproperlyConfigured -- if module https://pypi.org/project/couchbase/ is not available.

bucket = 'default'
property connection
delete(key)[源代码]
get(key)[源代码]
host = 'localhost'
key_t

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