Skip to content

Conversation

@hussein-awala
Copy link
Member

closes: #28772

^ Add meaningful description above
This PR creates a custom json encoder class to encode non-JSON serializable values added to the dag run conf dictionary.

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.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label Jan 7, 2023
@bolkedebruin
Copy link
Contributor

I've just merged all encoders into (almost) one. Let's not add another one and extend the one used for the Web if required (There is a WebEncoder).

@bolkedebruin bolkedebruin self-assigned this Jan 9, 2023
@hussein-awala hussein-awala removed the request for review from ryanahamilton January 12, 2023 21:38
@eladkal eladkal added this to the Airflow 2.5.2 milestone Feb 6, 2023
@hussein-awala hussein-awala requested review from uranusjr and removed request for bolkedebruin February 11, 2023 02:21
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
@hussein-awala
Copy link
Member Author

@Taragolis @bolkedebruin I think we need a second approve to merge this PR, can you please review it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:webserver Webserver related Issues type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DAG Run List UI Breaks when a non-JSON serializable value is added to dag_run.conf

8 participants