[AIRFLOW-5039] Fix broken XCom JSON serialization#6273
Conversation
| serialized = XCom.serialize_value(value) | ||
|
|
||
| # then | ||
| self.assertEqual("", serialized) |
There was a problem hiding this comment.
Sorry for that @ashb, this PR is in draft because I'm yet to add unit tests.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
Hi @allrod5, I'm trying to overcome a similar issue and noticed that this PR is not yet merged. Is there anything left to be done beside the unit test? Edit: might be able to help on unit test if needed. |
|
Hi @rifqifatih, I've come to realize that the issue was not with Airflow itself but that my project was relying on Airflow saving and loading datetimes objects directly without my code having to serialize and deserialize these datetimes. So I'm unsure if this is a behaviour Airflow wants to keep (doesn't seem that logical to have this datetime parsing enabled by default at least). |
Make sure you have checked all steps below.
https://issues.apache.org/jira/browse/AIRFLOW-5039
Jira
Description
Tests
Commits
Documentation