amoghrajesh commented on code in PR #46719:
URL: https://github.com/apache/airflow/pull/46719#discussion_r1954347379
##########
task_sdk/src/airflow/sdk/execution_time/comms.py:
##########
@@ -117,7 +117,7 @@ def from_xcom_response(cls, xcom_response: XComResponse) ->
XComResult:
XComResponse is autogenerated from the API schema, so we need to
convert it to XComResult
for communication between the Supervisor and the task process.
"""
- return cls(**xcom_response.model_dump())
+ return cls(**xcom_response.model_dump(), type="XComResult")
Review Comment:
I will remove it, we do not need it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]