amoghrajesh commented on code in PR #47051:
URL: https://github.com/apache/airflow/pull/47051#discussion_r1970308209


##########
providers/standard/src/airflow/providers/standard/operators/trigger_dagrun.py:
##########
@@ -86,8 +85,12 @@ def get_link(self, operator: BaseOperator, *, ti_key: 
TaskInstanceKey) -> str:
         # stored in xcom during execution of the triggerING task.
         triggered_dag_run_id = XCom.get_value(ti_key=ti_key, key=XCOM_RUN_ID)
 
-        query = {"dag_id": trigger_dag_id, "dag_run_id": triggered_dag_run_id}
-        return build_airflow_url_with_query(query)
+        if AIRFLOW_V_3_0_PLUS:
+            base_url = conf.get_mandatory_value("fastapi", "base_url").lower()
+            return 
f"{base_url}/webapp/dags/{trigger_dag_id}/runs/{triggered_dag_run_id}"

Review Comment:
   +1 we should reconsider



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to