MCPcopy Index your code
hub / github.com/MagicStack/contextvars / _set_context

Function _set_context

contextvars/__init__.py:196–197  ·  view source on GitHub ↗
(ctx)

Source from the content-addressed store, hash-verified

194
195
196def _set_context(ctx):
197 _state.context = ctx
198
199
200_state = threading.local()

Callers 1

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…