uranusjr commented on code in PR #65543:
URL: https://github.com/apache/airflow/pull/65543#discussion_r3146590268
##########
airflow-core/src/airflow/dag_processing/manager.py:
##########
@@ -535,13 +535,21 @@ def _get_priority_files(self, session: Session =
NEW_SESSION) -> list[DagFileInf
session.delete(request)
return files
+ def fetch_callbacks(self) -> list[CallbackRequest]:
+ """
+ Fetch and claim callbacks for this manager's bundles.
+
+ Default implementation reads from the metadata DB; override to source
callbacks from an API.
+ """
+ return self._fetch_callbacks()
+
@provide_session
@retry_db_transaction
def _fetch_callbacks(
Review Comment:
Maybe rename this to `_fetch_callbacks_from_db`?
--
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]