dannyl1u commented on issue #42850:
URL: https://github.com/apache/airflow/issues/42850#issuecomment-2556463519

   If my understanding is correct:
   1. Create JSON Schema file using 
[airflow/config_templates/config.yml](https://github.com/apache/airflow/blob/9c4b81d71f3caee3a3b1c6d9c626ee5d16f0db7c/airflow/config_templates/config.yml)
 and publish to https://www.schemastore.org/json/ 
   2. Use `pydantic` or some other IDE tool to validate `airflow.cfg` using the 
json schema
   
   Regarding (2), do you know of any tools that can be used to validate the 
`.ini` format from the json schema? I generated a `schema.json` file locally 
using the 
[airflow/config_templates/config.yml](https://github.com/apache/airflow/blob/9c4b81d71f3caee3a3b1c6d9c626ee5d16f0db7c/airflow/config_templates/config.yml)
  and would like to test if my `airflow.cfg` passes the validation.


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