Open dmamelin opened 8 months ago
This code causes an error: RuntimeError: Lock is not acquired.
RuntimeError: Lock is not acquired.
lock = asyncio.Lock() async with lock: pass
Workaround:
lock = asyncio.Lock() async with lock as lock_test: pass
This code causes an error:
RuntimeError: Lock is not acquired.
Workaround: