We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1656bb commit d149e80Copy full SHA for d149e80
posthog/scopes.py
@@ -6,6 +6,7 @@
6
# Use contextvars if available (Python 3.7+), otherwise fall back to threading.local
7
if sys.version_info >= (3, 7):
8
import contextvars
9
+
10
_context_stack: contextvars.ContextVar[list] = contextvars.ContextVar("posthog_context_stack", default=[{}])
11
_use_contextvars = True
12
else:
0 commit comments