Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tornadoweb/tornado
/ gen_root
Method
gen_root
tornado/test/gen_test.py:1062–1065 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
1060
1061
@gen.coroutine
1062
def
gen_root(self, x):
1063
ctx_var.set(x)
1064
yield
1065
yield
self.inner(x)
1066
1067
async
def
inner(self, x):
1068
self.assertEqual(ctx_var.get(), x)
Callers
1
test_propagate
Method · 0.95
Calls
2
inner
Method · 0.95
set
Method · 0.45
Tested by
no test coverage detected