Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azure/durable_functions/tasks/continue_as_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ def continue_as_new(
"""
new_action = ContinueAsNewAction(input_)

return Task(is_completed=False, is_faulted=False, action=new_action)
return Task(is_completed=True, is_faulted=False, action=new_action)
1 change: 1 addition & 0 deletions tests/orchestrator/test_continue_as_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def add_hello_action(state: OrchestratorState, input_: str):
def add_continue_as_new_action(state: OrchestratorState, input_: str):
action = ContinueAsNewAction(input_=input_)
state.actions.append([action])
state._is_done = True


def add_hello_completed_events(
Expand Down