You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/08/28 20:17:08 UTC

[GitHub] [airflow] BasPH commented on a diff in pull request #26006: Include scheduled slots in pools view

BasPH commented on code in PR #26006:
URL: https://github.com/apache/airflow/pull/26006#discussion_r956776461


##########
airflow/api_connexion/schemas/pool_schema.py:
##########
@@ -54,6 +55,11 @@ def get_queued_slots(obj: Pool) -> int:
         """Returns the queued slots of the pool."""
         return obj.queued_slots()
 
+    @staticmethod
+    def get_scheduled_slots(obj: Pool) -> int:
+        """Returns the queued slots of the pool."""

Review Comment:
   ```suggestion
           """Returns the scheduled slots of the pool."""
   ```



-- 
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-unsubscribe@airflow.apache.org

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