Skip to content

Commit f011da4

Browse files
committed
Linting
1 parent b1f448e commit f011da4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

azure/durable_functions/models/TaskOrchestrationExecutor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ def execute(self, context: DurableOrchestrationContext,
9595
# Combine the is_played field with the history-based signal:
9696
# we are replaying if is_played says so OR if we haven't reached new events yet.
9797
execution_started_event = history[1]
98-
is_replaying_from_history = self._new_events_start_index > 1
99-
self.current_task.is_played = execution_started_event.is_played or is_replaying_from_history
98+
history_is_replaying = self._new_events_start_index > 1
99+
self.current_task.is_played = execution_started_event.is_played or history_is_replaying
100100

101101
# If user code is a generator, then it uses `yield` statements (the DF API)
102102
# and so we iterate through the DF history, generating tasks and populating

0 commit comments

Comments
 (0)