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

# `celery.backends.database`

SQLAlchemy result store backend.

class celery.backends.database.DatabaseBackend(dburi=None, engine_options=None, url=None, **kwargs)

  The database result backend.

  ResultSession(session_manager=None)
  cleanup()

    Delete expired meta-data.

  property extended_result
  subpolling_interval = 0.5

    Time to sleep between polling each individual item in ResultSet.iterate. as opposed to the interval argument which is for each pass.

  task_cls

    alias of `Task`

  taskset_cls

    alias of `TaskSet`