Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ run_w_cancel
Method
run_w_cancel
test/base/test_concurrency.py:71–72 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
69
raise
70
71
async
def
run_w_cancel():
72
await greenlet_spawn(sync_meth)
73
74
with
expect_raises(asyncio.CancelledError, check_context=False):
75
await run_w_cancel()
Callers
nothing calls this directly
Calls
1
greenlet_spawn
Function · 0.90
Tested by
no test coverage detected