uranusjr commented on code in PR #32122:
URL: https://github.com/apache/airflow/pull/32122#discussion_r1264815014


##########
airflow/models/taskinstance.py:
##########
@@ -2580,6 +2580,35 @@ def get_num_running_task_instances(self, session: 
Session, same_dagrun=False) ->
             )
         return num_running_task_instances_query.scalar()
 
+    @provide_session
+    def get_valid_map_index(self, session: Session, limit: int) -> (set[int]):

Review Comment:
   ```suggestion
       def get_valid_map_index(self, limit: int, *, session: Session = 
NEW_SESSION) -> set[int]:
   ```



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to