File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -296,8 +296,10 @@ class WorkflowInstanceAccessInboundInterceptor(WorkflowInboundInterceptor):
296
296
async def execute_workflow (self , input : ExecuteWorkflowInput ) -> int :
297
297
# Return integer difference between ids of workflow instance obtained from workflow run method and
298
298
# from workflow.instance(). They should be the same, so the difference should be 0.
299
+ from_workflow_instance_api = workflow .instance ()
300
+ assert from_workflow_instance_api is not None
301
+ id_from_workflow_instance_api = id (from_workflow_instance_api )
299
302
id_from_workflow_run_method = await super ().execute_workflow (input )
300
- id_from_workflow_instance_api = id (workflow .instance ())
301
303
return id_from_workflow_run_method - id_from_workflow_instance_api
302
304
303
305
You can’t perform that action at this time.
0 commit comments