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_r382904811
 
 

 ##########
 File path: airflow/models/dagrun.py
 ##########
 @@ -349,9 +345,14 @@ def update_state(self, session=None):
 
         return ready_tis
 
-    def _get_ready_tis(self, scheduleable_tasks, finished_tasks, session):
+    def _get_ready_tis(
+        self,
+        scheduleable_tasks: List[TI],
+        finished_tasks: List[TI],
+        session,
 
 Review comment:
   from sqlalchemy.orm.session import Session
   ```suggestion
           session: Session,
   ```

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