If i await , my parent is waiting for child though i use ABANDON
If i do not await on the result , I am getting error
{
“message”: “await wasn’t used with future”,
“source”: “”,
“stackTrace”: " File "I:\PyVirtualEnvs\temporal_virtual_env\lib\site-packages\temporalio\worker\_workflow_instance.py", line 289, in activate\n self._run_once(check_conditions=index == 1 or index == 2)\n\n File "I:\PyVirtualEnvs\temporal_virtual_env\lib\site-packages\temporalio\worker\_workflow_instance.py", line 1187, in _run_once\n raise self._current_activation_error\n\n File "I:\PyVirtualEnvs\temporal_virtual_env\lib\site-packages\temporalio\worker\_workflow_instance.py", line 1205, in _run_top_level_workflow_function\n await coro\n\n File "I:\PyVirtualEnvs\temporal_virtual_env\lib\site-packages\temporalio\worker\_workflow_instance.py", line 622, in run_workflow\n result_payloads = self._payload_converter.to_payloads([result])\n\n File "I:\PyVirtualEnvs\temporal_virtual_env\lib\site-packages\temporalio\converter.py", line 213, in to_payloads\n payload = converter.to_payload(value)\n\n File "I:\PyVirtualEnvs\temporal_virtual_env\lib\site-packages\temporalio\converter.py", line 494, in to_payload\n data=json.dumps(\n\n File "C:\JPMC\DEV\TMP\ds\tools\python3.10\latest\lib\json\init.py", line 238, in dumps\n **kw).encode(obj)\n\n File "C:\JPMC\DEV\TMP\ds\tools\python3.10\latest\lib\json\encoder.py", line 199, in encode\n chunks = self.iterencode(o, _one_shot=True)\n\n File "C:\JPMC\DEV\TMP\ds\tools\python3.10\latest\lib\json\encoder.py", line 257, in iterencode\n return _iterencode(o, 0)\n\n File "I:\PyVirtualEnvs\temporal_virtual_env\lib\site-packages\temporalio\converter.py", line 434, in default\n return list(o)\n",
“encodedAttributes”: null,
“cause”: null,
“applicationFailureInfo”: {
“type”: “RuntimeError”,
“nonRetryable”: false,
“details”: null
}
}
File “I:\PyVirtualEnvs\temporal_virtual_env\lib\site-packages\temporalio\worker_workflow_instance.py”, line 289, in activate
self._run_once(check_conditions=index == 1 or index == 2)
File “I:\PyVirtualEnvs\temporal_virtual_env\lib\site-packages\temporalio\worker_workflow_instance.py”, line 1187, in _run_once
raise self._current_activation_error
File “I:\PyVirtualEnvs\temporal_virtual_env\lib\site-packages\temporalio\worker_workflow_instance.py”, line 1205, in _run_top_level_workflow_function
await coro
File “I:\PyVirtualEnvs\temporal_virtual_env\lib\site-packages\temporalio\worker_workflow_instance.py”, line 622, in run_workflow
result_payloads = self._payload_converter.to_payloads([result])
File “I:\PyVirtualEnvs\temporal_virtual_env\lib\site-packages\temporalio\converter.py”, line 213, in to_payloads
payload = converter.to_payload(value)
File “I:\PyVirtualEnvs\temporal_virtual_env\lib\site-packages\temporalio\converter.py”, line 494, in to_payload
data=json.dumps(
File “C:\JPMC\DEV\TMP\ds\tools\python3.10\latest\lib\json_init_.py”, line 238, in dumps
**kw).encode(obj)
File “C:\JPMC\DEV\TMP\ds\tools\python3.10\latest\lib\json\encoder.py”, line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File “C:\JPMC\DEV\TMP\ds\tools\python3.10\latest\lib\json\encoder.py”, line 257, in iterencode
return _iterencode(o, 0)
File “I:\PyVirtualEnvs\temporal_virtual_env\lib\site-packages\temporalio\converter.py”, line 434, in default
return list(o)