Skip to content

Commit

Permalink
Add WorkflowThread where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
Snarr committed Nov 27, 2024
1 parent 39c45f8 commit 1821425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk-python/tests/test_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2171,7 +2171,7 @@ def wf_func(thread: WorkflowThread) -> None:

def test_reassign_to_user_var(self):
def wf_func(thread: WorkflowThread) -> None:
user_var = WfRunVariable("my-var", VariableType.STR, None)
user_var = WfRunVariable("my-var", VariableType.STR, thread)
uto = thread.assign_user_task(
"my-user-task",
user_id="asdf",
Expand All @@ -2197,7 +2197,7 @@ def wf_func(thread: WorkflowThread) -> None:

def test_reassign_to_group(self):
def wf_func(thread: WorkflowThread) -> None:
user_var = WfRunVariable("my-var", VariableType.STR, None)
user_var = WfRunVariable("my-var", VariableType.STR, thread)
uto = thread.assign_user_task(
"my-user-task",
user_id="asdf",
Expand Down

0 comments on commit 1821425

Please sign in to comment.