vuonghoangbntt commented on code in PR #75670:
URL: https://github.com/apache/airflow/pull/75670#discussion_r4410446254


##########
airflow-core/src/airflow/dag_processing/manager.py:
##########
@@ -1609,6 +1604,17 @@ def _sort_by_mtime(self, files: Iterable[DagFileInfo]):
         return file_infos, changed_recently
 
     def processed_recently(self, now, file):
+        """
+        Return whether ``file`` finished parsing within 
``min_file_process_interval``.
+
+        .. deprecated:: 3.5.0
+            The Dag processor no longer uses this method. It will be removed 
in Airflow 4.
+        """
+        warnings.warn(
+            "DagFileProcessorManager.processed_recently is deprecated and will 
be removed in Airflow 4.",
+            RemovedInAirflow4Warning,

Review Comment:
   Thanks for the review! I’ve followed the _warn_deprecated_executor_usage 
pattern and added a log.warning here.



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