File: context.py

package info (click to toggle)
python-django-guid 3.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 664 kB
  • sloc: python: 1,267; makefile: 16
file content (4 lines) | stat: -rw-r--r-- 178 bytes parent folder | download | duplicates (2)
1
2
3
4
from contextvars import ContextVar

celery_parent: ContextVar = ContextVar('celery_parent', default=None)
celery_current: ContextVar = ContextVar('celery_current', default=None)