Skip to content

Commit ed85e7f

Browse files
committed
Clean up
1 parent 6329ae4 commit ed85e7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

temporalio/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2479,8 +2479,6 @@ def __init__(
24792479
temporalio.workflow._Definition.get_name_and_result_type(workflow)
24802480
)
24812481

2482-
self._id = id
2483-
self._workflow_handle: Future[WorkflowHandle[SelfType, ReturnType]] = Future()
24842482
self._start_workflow_input = UpdateWithStartStartWorkflowInput(
24852483
workflow=name,
24862484
args=temporalio.common._arg_or_args(arg, args),
@@ -2508,6 +2506,8 @@ def __init__(
25082506
# self._result_type = None
25092507
# self.__temporal_eagerly_started = False
25102508

2509+
self._workflow_handle: Future[WorkflowHandle[SelfType, ReturnType]] = Future()
2510+
25112511
async def workflow_handle(self) -> WorkflowHandle[SelfType, ReturnType]:
25122512
return await self._workflow_handle
25132513

0 commit comments

Comments
 (0)