This document describes the current stable version of Celery (4.3). For development docs, go here.

celery.backends.base

Result backend base classes.

class celery.backends.base.BaseBackend(app, serializer=None, max_cached_results=None, accept=None, expires=None, expires_type=None, url=None, **kwargs)[source]

Base (synchronous) result backend.

class celery.backends.base.KeyValueStoreBackend(*args, **kwargs)[source]

Result backend base class for key/value stores.

class celery.backends.base.DisabledBackend(app, serializer=None, max_cached_results=None, accept=None, expires=None, expires_type=None, url=None, **kwargs)[source]

Dummy result backend.

as_uri(*args, **kwargs)[source]

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

ensure_chords_allowed()[source]
get_many(*args, **kwargs)
get_result(*args, **kwargs)
get_state(*args, **kwargs)
get_status(*args, **kwargs)
get_task_meta_for(*args, **kwargs)
get_traceback(*args, **kwargs)
store_result(*args, **kwargs)[source]

Update task state and result.

wait_for(*args, **kwargs)