jason810496 commented on code in PR #54563:
URL: https://github.com/apache/airflow/pull/54563#discussion_r2323774287


##########
airflow-core/src/airflow/api_fastapi/common/parameters.py:
##########
@@ -616,6 +616,17 @@ def depends_float(
     FilterParam[bool | None],
     Depends(filter_param_factory(DagModel.is_paused, bool | None, 
filter_name="paused")),
 ]
+QueryHasImportErrorsFilter = Annotated[
+    FilterParam[bool | None],
+    Depends(
+        filter_param_factory(
+            DagModel.has_import_errors,
+            bool | None,
+            filter_name="has_import_errors",
+            description="Filter DAGs by having import errors. Only DAGs that 
have been successfully loaded before will be returned.",

Review Comment:
   Yes indeed, you get it right. IMO, the frequency of "Dag" are still higher 
than "dag" in recent PR. Using "Dag" here _should_ be fine.



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