kaxil commented on a change in pull request #9535:
URL: https://github.com/apache/airflow/pull/9535#discussion_r446353675



##########
File path: docs/howto/set-config.rst
##########
@@ -37,6 +37,12 @@ or by creating a corresponding environment variable:
 .. code-block:: bash
 
     export AIRFLOW__CORE__SQL_ALCHEMY_CONN=my_conn_string
+    
+For setting boolean configuration values use ``true``/``false``:
+
+.. code-block:: bask
+
+    export AIRFLOW__CORE__REMOTE_LOGGING=true

Review comment:
       ```python
   ❯ export AIRFLOW__CORE__LOAD_DEFAULT_CONNECTIONS=True
   ❯ ipython
   Python 3.7.4 (default, Aug 13 2019, 15:17:50)
   Type 'copyright', 'credits' or 'license' for more information
   IPython 7.8.0 -- An enhanced Interactive Python. Type '?' for help.
   
   In [1]: from airflow.configuration import  conf
   
   In [2]: conf.getboolean("core", "load_default_connections")
   Out[2]: True
   
   In [3]:
   Do you really want to exit ([y]/n)? y
   ❯ export AIRFLOW__CORE__LOAD_DEFAULT_CONNECTIONS=False
   ❯ ipython
   Python 3.7.4 (default, Aug 13 2019, 15:17:50)
   Type 'copyright', 'credits' or 'license' for more information
   IPython 7.8.0 -- An enhanced Interactive Python. Type '?' for help.
   
   In [1]: from airflow.configuration import  conf
   
   In [2]: conf.getboolean("core", "load_default_connections")
   Out[2]: False
   
   In [3]:
   ```




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


Reply via email to