nuclearpinguin commented on a change in pull request #7495: [AIRFLOW-6873] fix 
mypyd errors and add new type annotations
URL: https://github.com/apache/airflow/pull/7495#discussion_r382904713
 
 

 ##########
 File path: airflow/models/dag.py
 ##########
 @@ -902,11 +902,11 @@ def topological_sort(self, include_subdag_tasks: bool = 
False):
     @provide_session
     def set_dag_runs_state(
             self,
-            state=State.RUNNING,
+            state: str = State.RUNNING,
             session=None,
             start_date=None,
             end_date=None,
 
 Review comment:
   Can you add rest of the annotations?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to