This document describes the current stable version of Celery (3.1). For development docs, go here.
celery.backends.mongodb¶
celery.backends.mongodb¶
MongoDB result store backend.
-
class
celery.backends.mongodb.MongoBackend(app=None, url=None, **kwargs)[source]¶ MongoDB result backend.
Raises: celery.exceptions.ImproperlyConfigured – if module pymongois not available.-
as_uri(include_password=False)[source]¶ Return the backend as an URI.
Parameters: include_password – Censor passwords.
-
database_name= 'celery'¶
-
host= 'localhost'¶
-
max_pool_size= 10¶
-
options= None¶
-
password= None¶
-
port= 27017¶
-
supports_autoexpire= False¶
-
taskmeta_collection= 'celery_taskmeta'¶
-
user= None¶
-