You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ds...@apache.org on 2022/06/21 18:55:46 UTC
[airflow] branch main updated (122d2f69bb -> e35ffaa457)
This is an automated email from the ASF dual-hosted git repository.
dstandish pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
from 122d2f69bb Add test_connection method to Trino hook (#24583)
add e35ffaa457 Add DagWarning model, and a check for missing pools (#23317)
No new revisions were added by this update.
Summary of changes:
.../endpoints/dag_warning_endpoint.py | 62 +++++++++
airflow/api_connexion/openapi/v1.yaml | 71 ++++++++++
.../{error_schema.py => dag_warning_schema.py} | 28 ++--
airflow/dag_processing/manager.py | 3 +-
airflow/dag_processing/processor.py | 72 ++++++++++
...table.py => 0112_2_4_0_add_dagwarning_model.py} | 38 +++---
airflow/models/__init__.py | 2 +
airflow/models/dagwarning.py | 92 +++++++++++++
airflow/security/permissions.py | 1 +
airflow/www/security.py | 1 +
airflow/www/utils.py | 8 ++
airflow/www/views.py | 9 ++
docs/apache-airflow/migrations-ref.rst | 4 +-
.../endpoints/test_dag_warning_endpoint.py | 146 +++++++++++++++++++++
tests/test_utils/db.py | 6 +
tests/utils/test_db_cleanup.py | 1 +
tests/www/test_security.py | 1 +
17 files changed, 511 insertions(+), 34 deletions(-)
create mode 100644 airflow/api_connexion/endpoints/dag_warning_endpoint.py
copy airflow/api_connexion/schemas/{error_schema.py => dag_warning_schema.py} (65%)
copy airflow/migrations/versions/{0051_1_10_8_add_dagtags_table.py => 0112_2_4_0_add_dagwarning_model.py} (58%)
create mode 100644 airflow/models/dagwarning.py
create mode 100644 tests/api_connexion/endpoints/test_dag_warning_endpoint.py