We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3600060 commit 7eb6a8eCopy full SHA for 7eb6a8e
durabletask/testing/in_memory_backend.py
@@ -1688,8 +1688,7 @@ def _process_rewind_orchestration_action(
1688
for task_id, sub_instance_id in created_sub_orchs.items():
1689
if task_id not in completed_sub_orch_task_ids:
1690
sub_instance = self._instances.get(sub_instance_id)
1691
- if (sub_instance
1692
- and sub_instance.status == pb.ORCHESTRATION_STATUS_FAILED):
+ if (sub_instance and sub_instance.status == pb.ORCHESTRATION_STATUS_FAILED):
1693
self._prepare_rewind(sub_instance, reason)
1694
self._watch_sub_orchestration(
1695
instance.instance_id, sub_instance_id, task_id)
0 commit comments