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

kaxilnaik 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 83a2858  Docs: Make ``DAG.is_active`` read-only in API (#17667)
83a2858 is described below

commit 83a2858dcbc8ecaa7429df836b48b72e3bbc002a
Author: Guilherme Martins Crocetti <[email protected]>
AuthorDate: Wed Aug 18 11:56:02 2021 -0300

    Docs: Make ``DAG.is_active`` read-only in API (#17667)
    
    Add readOnly=True property on DAG.is_active
    
    closes: #17639
---
 airflow/api_connexion/openapi/v1.yaml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/airflow/api_connexion/openapi/v1.yaml 
b/airflow/api_connexion/openapi/v1.yaml
index 50822ed..485e028 100644
--- a/airflow/api_connexion/openapi/v1.yaml
+++ b/airflow/api_connexion/openapi/v1.yaml
@@ -1873,9 +1873,10 @@ components:
           nullable: true
           description: Whether the DAG is paused.
         is_active:
-          type: boolean
-          nullable: true
           description: Whether the DAG is currently seen by the scheduler(s).
+          nullable: true
+          readOnly: true
+          type: boolean
         is_subdag:
           description: Whether the DAG is SubDAG.
           type: boolean

Reply via email to