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)