This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push: new c3eee43725 Add `ensure_ascii=False` in trigger dag run API (#28451) c3eee43725 is described below commit c3eee4372556f9b09d3395a3f251c9ee21278846 Author: Mansu Kim <akstn3...@naver.com> AuthorDate: Mon Dec 19 15:09:36 2022 +0900 Add `ensure_ascii=False` in trigger dag run API (#28451) * Add ensure_ascii=False in trigger dag run api * Fix static checks --- airflow/www/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/airflow/www/views.py b/airflow/www/views.py index fe40cf25c3..baf806b5f5 100644 --- a/airflow/www/views.py +++ b/airflow/www/views.py @@ -1992,7 +1992,9 @@ class Airflow(AirflowBaseView): else: try: default_conf = json.dumps( - {str(k): v.resolve(suppress_exception=True) for k, v in dag.params.items()}, indent=4 + {str(k): v.resolve(suppress_exception=True) for k, v in dag.params.items()}, + indent=4, + ensure_ascii=False, ) except TypeError: flash("Could not pre-populate conf field due to non-JSON-serializable data-types")