You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/04 13:28:38 UTC
[GitHub] [airflow] ashb commented on a diff in pull request #22691: List Mapped Instances in Task Details Panel
ashb commented on code in PR #22691:
URL: https://github.com/apache/airflow/pull/22691#discussion_r841737810
##########
airflow/www/templates/airflow/dag.html:
##########
@@ -67,6 +67,7 @@
<meta name="task_instances_url" content="{{ url_for('TaskInstanceModelView.list') }}">
<meta name="dag_details_api" content="{{ url_for('/api/v1.airflow_api_connexion_endpoints_dag_endpoint_get_dag_details', dag_id=dag.dag_id) }}">
<meta name="tasks_api" content="{{ url_for('/api/v1.airflow_api_connexion_endpoints_task_endpoint_get_tasks', dag_id=dag.dag_id) }}">
+ <meta name="mapped_instances_api" content="{{ url_for('/api/v1.airflow_api_connexion_endpoints_task_instance_endpoint_get_mapped_task_instances', dag_id=dag.dag_id, dag_run_id='_DAG_RUN_ID_', task_id='_TASK_ID_') }}">
Review Comment:
In future we should consider autogenerating a JS client from the OpenAPI spec document. Not now though.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org