gyscos commented on a change in pull request #16845:
URL: https://github.com/apache/airflow/pull/16845#discussion_r664957615



##########
File path: airflow/api_connexion/endpoints/dag_run_endpoint.py
##########
@@ -125,15 +129,16 @@ def get_dag_runs(
 
 def _fetch_dag_runs(
     query,
-    end_date_gte,
-    end_date_lte,
-    execution_date_gte,
-    execution_date_lte,
-    start_date_gte,
-    start_date_lte,
-    limit,
-    offset,
-    order_by,
+    end_date_gte: Optional[str],
+    end_date_lte: Optional[str],
+    execution_date_gte: Optional[str],
+    execution_date_lte: Optional[str],
+    start_date_gte: Optional[str],
+    start_date_lte: Optional[str],
+    state: Optional[List[str]],
+    limit: Optional[int],
+    offset: Optional[int],
+    order_by: str,

Review comment:
       I added type annotations to the functions I affected, but did not touch 
the others.




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