This is an automated email from the ASF dual-hosted git repository.
potiuk 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 80cab102cb Fix a deprecation warning related to
airflow.utils.helpers.chain (#27769)
80cab102cb is described below
commit 80cab102cbb852be247a3e700b882ad48064da8e
Author: Taewan Kim <[email protected]>
AuthorDate: Fri Nov 18 19:05:18 2022 +0900
Fix a deprecation warning related to airflow.utils.helpers.chain (#27769)
---
tests/www/views/test_views_tasks.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/www/views/test_views_tasks.py
b/tests/www/views/test_views_tasks.py
index 2da987f4b3..c4cee01a26 100644
--- a/tests/www/views/test_views_tasks.py
+++ b/tests/www/views/test_views_tasks.py
@@ -978,7 +978,7 @@ def test_task_fail_duration(app, admin_client, dag_maker,
session):
def test_graph_view_doesnt_fail_on_recursion_error(app, dag_maker,
admin_client):
"""Test that the graph view doesn't fail on a recursion error."""
- from airflow.utils.helpers import chain
+ from airflow.models.baseoperator import chain
with dag_maker("test_fails_with_recursion") as dag: