mik-laj edited a comment on issue #6644: [AIRFLOW-6047] Simplify the logging 
configuration template
URL: https://github.com/apache/airflow/pull/6644#issuecomment-557869288
 
 
   I would dream that the whole configuration was expressed as Python code. 
   Then in the HOME directory we would have settings.py with the following 
content:
   ```
   from airflow.settings import *
   ```
   And the airflow.settings file would contain default value definitions that 
could be overwritten in settings.py.
   ```
   ENABLE_AWESOME_FEATURE = True
   ```
   This would allow much greater freedom and create more complex objects, e.g. 
dictionaries. 
   
   This is how Django is configured.
   https://docs.djangoproject.com/en/2.2/topics/settings/
   https://github.com/joke2k/django-environ
   
   But all in all, if we delete the import from the first code and transfer it 
to the core, we will have your idea.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to