nailo2c commented on PR #58115:
URL: https://github.com/apache/airflow/pull/58115#issuecomment-3537478784

   Hi, I think potiuk is right. I fixed `airflow config list 
--include-descriptions --include-examples`, and now it produces the correct 
output. This approach is simpler than my original one. Please take a look and 
let me know if you have any feedback on the current version :)
   
   ```console
   root@7da61615e7c7:/opt/airflow# airflow config list --include-descriptions 
--include-examples | grep "dag_bundle_config_list" -A 10
   # Example: dag_bundle_config_list = [
   #       {
   #         "name": "my-git-repo",
   #         "classpath": "airflow.providers.git.bundles.git.GitDagBundle",
   #         "kwargs": {
   #           "subdir": "dags",
   #           "tracking_ref": "main",
   #           "refresh_interval": 0
   #         }
   #       }
   #     ]
   dag_bundle_config_list = [
           {
               "name": "dags-folder",
               "classpath": 
"airflow.dag_processing.bundles.local.LocalDagBundle",
               "kwargs": {}
           }
       ]
   
   # How often (in seconds) to refresh, or look for new files, in a DAG bundle.
   refresh_interval = 300
   
   root@7da61615e7c7:/opt/airflow# 
   root@7da61615e7c7:/opt/airflow# 
   root@7da61615e7c7:/opt/airflow# python - <<'PY'
   import configparser, pathlib, sys
   p = configparser.ConfigParser()
   p.read(pathlib.Path("airflow_new.cfg"))
   PY
   root@7da61615e7c7:/opt/airflow# 
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to