bugraoz93 commented on code in PR #55193:
URL: https://github.com/apache/airflow/pull/55193#discussion_r2319391717


##########
airflow-core/src/airflow/models/pool.py:
##########
@@ -352,3 +353,9 @@ def open_slots(self, session: Session = NEW_SESSION) -> 
float:
         if self.slots == -1:
             return float("inf")
         return self.slots - self.occupied_slots(session)
+

Review Comment:
   It is in the join, not in the filter, so I guess it is not needed in this 
context. Since this is a pool model, it makes sense to filter the pool table 
and get the team name. I could be missing some context though :) Why do you 
think it should have team_id as well? 



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