Skip to content

Commit f3fe485

Browse files
author
Dorian Birraux
committed
Pool now use asyncio.run
1 parent 7af0f08 commit f3fe485

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolframclient/evaluation/pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,4 +292,4 @@ async def cor():
292292
async with WolframEvaluatorPool(evaluator_spec, poolsize=max_evaluators) as pool:
293293
return await pool.evaluate_all(expressions)
294294

295-
return get_event_loop(loop).run_until_complete(cor())
295+
return asyncio.run(cor())

0 commit comments

Comments
 (0)