Skip to content

Commit 95386da

Browse files
committed
Appease mypy
1 parent 1851b69 commit 95386da

File tree

1 file changed

+1
-1
lines changed
  • features/continue_as_new/updates_do_not_block_continue_as_new

1 file changed

+1
-1
lines changed

features/continue_as_new/updates_do_not_block_continue_as_new/feature.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async def _check_result() -> None:
9090
and update_run_id != handle.first_execution_run_id
9191
), "Expected update to be handled on post-CAN run"
9292

93-
await asyncio.to_thread(asyncio.run, _check_result())
93+
await asyncio.to_thread(lambda: asyncio.run(_check_result()))
9494

9595

9696
register_feature(

0 commit comments

Comments
 (0)