{# Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #} {% extends base_template %} {% from 'appbuilder/loading_dots.html' import loading_dots %} {% from 'airflow/_messages.html' import show_message %} {%- macro sortable_column(display_name, attribute_name) -%} {% set curr_ordering_direction = (request.args.get('sorting_direction', 'desc')) %} {% set new_ordering_direction = ('asc' if (request.args.get('sorting_key') != attribute_name or curr_ordering_direction == 'desc') else 'desc') %} {{ display_name }} {%- endmacro -%} {% block page_title %} {% if search_query %}"{{ search_query }}" - {% endif %}DAGs - {{ appbuilder.app_name }} {% endblock %} {% block head_meta %} {{ super() }} {% endblock %} {% block head_css %} {{ super() }} {% endblock %} {% block messages %} {% for m in dashboard_alerts %} {{ show_message(m.message, m.category) }} {% endfor %} {% for original_table_name, moved_table_name in migration_moved_data_alerts %} {% call show_message(category='error', dismissible=false) %} Airflow found incompatible data in the {{ original_table_name }} table in the metadatabase, and has moved them to {{ moved_table_name }} during the database migration to upgrade. Please inspect the moved data to decide whether you need to keep them, and manually drop the {{ moved_table_name }} table to dismiss this warning. Read more about it in Upgrading. {% endcall %} {% endfor %} {{ super() }} {% if sqlite_warning | default(true) %} {% call show_message(category='warning', dismissible=false) %} Do not use SQLite as metadata DB in production – it should only be used for dev/testing. We recommend using Postgres or MySQL. Click here for more information. {% endcall %} {% endif %} {% if sequential_executor_warning | default(false) %} {% call show_message(category='warning', dismissible=false) %} Do not use SequentialExecutor in production. Click here for more information. {% endcall %} {% endif %} {% endblock %} {% block content %}

{{ page_title }}

{% if tags_filter|length > 0 %} {% endif %}
{% if search_query %} {% endif %}
{% if dags|length == 0 %} {% endif %} {% for dag in dags %} {% set dag_is_paused = dag.get_is_paused() %} {% endfor %}
info {{ sortable_column("DAG", "dag_id") }} {{ sortable_column("Owner", "owners") }} Runs Schedule Last Run {{ sortable_column("Next Run", "next_dagrun") }} Recent Tasks Actions Links
No results
{% if dag.can_edit %} {% set switch_tooltip = 'Pause/Unpause DAG' %} {% else %} {% set switch_tooltip = 'DAG is Paused' if dag_is_paused else 'DAG is Active' %} {% endif %} {{ dag.dag_id }}
{% for tag in dag.tags | sort(attribute='name') %} {{ tag.name }} {% endfor %}
{% for owner in dag.owners.split(",") %} {{ owner | trim }} {% endfor %} {{ loading_dots(classes='js-loading-dag-stats text-muted') }} {{ dag.schedule_interval }} {% if dag is defined and dag.timetable_description %} {% endif %} {{ loading_dots(classes='js-loading-last-run text-muted') }} {% if dag.next_dagrun is not none %} {% endif %} {% if dag.next_dagrun_create_after %} {# data-nextrun is being used to pass next_dagrun dates to js to build the full tooltip #} {% endif %} {{ loading_dots(classes='js-loading-task-stats text-muted') }}
{% if dag %} {% endif %} {# Use dag_id instead of dag.dag_id, because the DAG might not exist in the webserver's DagBag #}
{% if dag %} {% endif %}
{{paging}}
Showing {{num_dag_from}}-{{num_dag_to}} of {{num_of_all_dags}} DAGs
{% endblock %} {% block tail %} {{ super() }} {% endblock %}