Skip to content

Commit c44306f

Browse files
committed
Add missing fields to WorkflowHandle
1 parent 0e3ace9 commit c44306f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

temporalio/client.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -998,6 +998,8 @@ def on_start(
998998
self,
999999
start_workflow_operation._start_workflow_input.id,
10001000
first_execution_run_id=start_response.run_id,
1001+
result_run_id=start_response.run_id,
1002+
result_type=result_type,
10011003
)
10021004
)
10031005

@@ -2502,13 +2504,6 @@ def __init__(
25022504
rpc_metadata=rpc_metadata,
25032505
rpc_timeout=rpc_timeout,
25042506
)
2505-
2506-
# TODO: any of these needed here?
2507-
# self._run_id = None
2508-
# self._result_run_id = None
2509-
# self._result_type = None
2510-
# self.__temporal_eagerly_started = False
2511-
25122507
self._workflow_handle: Future[WorkflowHandle[SelfType, ReturnType]] = Future()
25132508

25142509
async def workflow_handle(self) -> WorkflowHandle[SelfType, ReturnType]:

0 commit comments

Comments
 (0)