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

celery.backends.database.session

SQLAlchemy session.

class celery.backends.database.session.SessionManager[source]

Manage SQLAlchemy sessions.

create_session(dburi, short_lived_sessions=False, **kwargs)[source]
get_engine(dburi, **kwargs)[source]
prepare_models(engine)[source]
session_factory(dburi, **kwargs)[source]