You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ur...@apache.org on 2023/06/09 05:37:18 UTC
[airflow] branch main updated: Fix XCOM view (#31807)
This is an automated email from the ASF dual-hosted git repository.
uranusjr 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 b7a1a2e1e6 Fix XCOM view (#31807)
b7a1a2e1e6 is described below
commit b7a1a2e1e6d0e46e209fc7a5ffb7313a2891f435
Author: Daniel Standish <15...@users.noreply.github.com>
AuthorDate: Thu Jun 8 22:37:00 2023 -0700
Fix XCOM view (#31807)
---
airflow/www/views.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/airflow/www/views.py b/airflow/www/views.py
index cc08609096..d63f0f36c4 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -1885,9 +1885,8 @@ class Airflow(AirflowBaseView):
XCom.task_id == task_id,
XCom.execution_date == dttm,
XCom.map_index == map_index,
- XCom.key.not_like("_%"),
)
- attributes = [tuple(row) for row in xcom_query]
+ attributes = [(k, v) for k, v in xcom_query if not k.startswith("_")]
title = "XCom"
return self.render_template(