{# 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 'airflow/dataset_next_run_modal.html' import dataset_next_run_modal %} {% from 'appbuilder/dag_docs.html' import dag_docs %} {% block page_title %}{{ dag.dag_id }} - {{ appbuilder.app_name }}{% endblock %} {% block head_css %} {{ super() }} {% endblock %} {% set dag_is_paused = dag.get_is_paused() %} {% set base_date_arg = request.args.get('base_date') %} {% set num_runs_arg = request.args.get('num_runs') %} {% if execution_date is defined %} {% set execution_date_arg = execution_date %} {% else %} {% set execution_date_arg = request.args.get('execution_date') %} {% endif %} {% block head_meta %} {{ super() }} {% if dag_model is defined and dag_model.next_dagrun_create_after is defined and dag_model.next_dagrun_create_after is not none %} {% endif %} {% if show_external_log_redirect is defined %} {% endif %} {% if external_log_name is defined %} {% endif %} {% endblock %} {% block content %} {% if dag.parent_dag is defined and dag.parent_dag %} {% endif %} DAG: {{ dag.parent_dag.dag_id }}
Next Run:
{% endif %} {% if dag_model is defined and dag_model.schedule_interval is defined and dag_model.schedule_interval == 'Dataset' %} {%- with ds_info = dag_model.get_dataset_triggered_next_run_info() -%} {%- endwith -%} {% endif %}