sejal-gupta-ksolves commented on code in PR #67327:
URL: https://github.com/apache/airflow/pull/67327#discussion_r3296560182
##########
providers/standard/src/airflow/providers/standard/operators/trigger_dagrun.py:
##########
@@ -312,6 +312,13 @@ def _trigger_dag_af_3(self, context, run_id,
parsed_logical_date, parsed_run_aft
if parsed_run_after and "run_after" in parameters:
kwargs_accepted["run_after"] = parsed_run_after
+ from airflow.utils.helpers import build_airflow_dagrun_url
Review Comment:
Hi @shivaam yes, using a localized/lazy import inside an operator method is
a common best practice in Airflow. It prevents top-level import overhead during
the scheduler's DAG parsing loops and avoids potential circular dependency
issues.
--
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]