kaxil commented on code in PR #64626:
URL: https://github.com/apache/airflow/pull/64626#discussion_r3029852773


##########
airflow-core/src/airflow/models/trigger.py:
##########
@@ -210,6 +209,8 @@ def bulk_fetch(cls, ids: Iterable[int], session: Session = 
NEW_SESSION) -> dict[
     @provide_session
     def fetch_trigger_ids_with_non_task_associations(cls, session: Session = 
NEW_SESSION) -> set[str]:
         """Fetch all trigger IDs actively associated with non-task entities 
like assets and callbacks."""
+        from airflow.models.callback import Callback

Review Comment:
   Why inline import?



##########
airflow-core/src/airflow/models/trigger.py:
##########
@@ -408,6 +409,8 @@ def get_sorted_triggers(
         :param queues: The optional set of trigger queues to filter triggers 
by.
         :param session: The database session.
         """
+        from airflow.models.callback import Callback

Review Comment:
   Why inline import?



-- 
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