-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Deserialize response of get_all when we call XCom.get_all
#53020
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Should we have a test for it? |
yep, was just finishing it off. |
get_all when we call XCom.get_all
|
Verified re-running failed Dags works fine now |
kaxil
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code change looks good to me. Test works but can be improved later on
https://github.com/apache/airflow/pull/53020/files#r2194788728
|
@kaxil please merge this if all's good :) |
closes: #53018
The data returned from the api comes in without deserialisation as the contract between task sdk and the api server is simple: json objects.
So the returned data must be deserialised.
DAG used:
Before:

After changes, dag run:

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.