ashb commented on a change in pull request #10956:
URL: https://github.com/apache/airflow/pull/10956#discussion_r499588584



##########
File path: airflow/models/pool.py
##########
@@ -91,7 +96,15 @@ def slots_stats(session: Session = None) -> Dict[str, 
PoolStats]:
 
         pools: Dict[str, PoolStats] = {}
 
-        pool_rows: Iterable[Tuple[str, int]] = session.query(Pool.pool, 
Pool.slots).all()
+        query = session.query(Pool.pool, Pool.slots)

Review comment:
       Yeah, this went through a few iterations, and I agree it should be tided 
up now.




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


Reply via email to