milton0825 commented on a change in pull request #9787:
URL: https://github.com/apache/airflow/pull/9787#discussion_r453939024



##########
File path: airflow/api_connexion/schemas/pool_schema.py
##########
@@ -59,7 +59,7 @@ def get_queued_slots(obj: Pool) -> int:
         return obj.queued_slots()
 
     @staticmethod
-    def get_open_slots(obj: Pool) -> int:
+    def get_open_slots(obj: Pool) -> float:

Review comment:
       Shouldn't the number of slots be always an integer?




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