Skip to content

Commit

Permalink
Fix Pool schema OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrejeambrun committed Apr 30, 2023
1 parent 8b13a8b commit d9e37d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion airflow/api_connexion/openapi/v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3070,7 +3070,7 @@ components:
type: integer
readOnly: true
description: The number of slots used by running/queued tasks at the moment.
used_slots:
running_slots:
type: integer
readOnly: true
description: The number of slots used by running tasks at the moment.
Expand All @@ -3082,6 +3082,10 @@ components:
type: integer
readOnly: true
description: The number of free slots at the moment.
scheduled_slots:
type: integer
readOnly: true
description: The number of slots used by scheduled tasks at the moment.
description:
type: string
description: |
Expand Down
4 changes: 3 additions & 1 deletion airflow/www/static/js/types/api-generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1211,11 +1211,13 @@ export interface components {
/** @description The number of slots used by running/queued tasks at the moment. */
occupied_slots?: number;
/** @description The number of slots used by running tasks at the moment. */
used_slots?: number;
running_slots?: number;
/** @description The number of slots used by queued tasks at the moment. */
queued_slots?: number;
/** @description The number of free slots at the moment. */
open_slots?: number;
/** @description The number of slots used by scheduled tasks at the moment. */
scheduled_slots?: number;
/**
* @description The description of the pool.
*
Expand Down

0 comments on commit d9e37d2

Please # to comment.