Skip to content

Commit a8ba197

Browse files
committed
3.8 compatibility
1 parent b485802 commit a8ba197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

temporalio/worker/_workflow_instance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,7 @@ async def _run_top_level_workflow_function(self, coro: Awaitable[None]) -> None:
18561856
# presence of the update caller gives a strong reason to cancel
18571857
# update tasks.
18581858
for update_handler in self._in_progress_updates.values():
1859-
update_handler.task.cancel("The workflow was cancelled.")
1859+
update_handler.task.cancel()
18601860
elif self._is_workflow_failure_exception(err):
18611861
# All other failure errors fail the workflow
18621862
self._set_workflow_failure(err)

0 commit comments

Comments
 (0)