This is an automated email from the ASF dual-hosted git repository.

ash pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 9529526021 clarify that the total_entries property isn't impact by 
pagination (#28867)
9529526021 is described below

commit 952952602161d353effa877fbb091cbfcf56068b
Author: Steve Zhang <[email protected]>
AuthorDate: Thu Jan 12 08:34:07 2023 -0800

    clarify that the total_entries property isn't impact by pagination (#28867)
    
    Co-authored-by: Ash Berlin-Taylor <[email protected]>
---
 airflow/api_connexion/openapi/v1.yaml        | 4 +++-
 airflow/www/static/js/types/api-generated.ts | 5 ++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/airflow/api_connexion/openapi/v1.yaml 
b/airflow/api_connexion/openapi/v1.yaml
index 9db4e7647d..f2cc9b3af2 100644
--- a/airflow/api_connexion/openapi/v1.yaml
+++ b/airflow/api_connexion/openapi/v1.yaml
@@ -4492,7 +4492,9 @@ components:
       properties:
         total_entries:
           type: integer
-          description: Count of objects in the current result set.
+          description: |
+            Count of total objects in the current result set before pagination 
parameters
+            (limit, offset) are applied.
 
     # Enums
     TaskState:
diff --git a/airflow/www/static/js/types/api-generated.ts 
b/airflow/www/static/js/types/api-generated.ts
index 1ec47bd7d1..8841cd7225 100644
--- a/airflow/www/static/js/types/api-generated.ts
+++ b/airflow/www/static/js/types/api-generated.ts
@@ -2040,7 +2040,10 @@ export interface components {
     };
     /** @description Metadata about collection. */
     CollectionInfo: {
-      /** @description Count of objects in the current result set. */
+      /**
+       * @description Count of total objects in the current result set before 
pagination parameters
+       * (limit, offset) are applied.
+       */
       total_entries?: number;
     };
     /**

Reply via email to