MCPcopy Create free account
hub / github.com/celery/celery / _TLS

Class _TLS

celery/_state.py:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63
64class _TLS(threading.local):
65 #: Apps with the :attr:`~celery.app.base.BaseApp.set_as_current` attribute
66 #: sets this, so it will always contain the last instantiated app,
67 #: and is the default app returned by :func:`app_or_default`.
68 current_app = None
69
70
71_tls = _TLS()

Callers 1

_state.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected