MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / async_set

Method async_set

test/base/test_concurrency.py:142–144  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

140 return var.get()
141
142 async def async_set(val):
143 await asyncio.sleep(random.uniform(0.005, 0.015))
144 var.set(val)
145
146 def inner(val):
147 retval = await_(async_inner(val))

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected