From a1262b30acc16d8a66befddb22bb04bf2ffbf416 Mon Sep 17 00:00:00 2001 From: Christoph Lingg Date: Fri, 26 Jun 2020 15:49:32 +0200 Subject: [PATCH] boolean values in environment variables it is not obvious from the docs how to set boolean values, source https://github.com/apache/airflow/blob/master/airflow/configuration.py#L329-L341 --- docs/howto/set-config.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/howto/set-config.rst b/docs/howto/set-config.rst index 241720fe325f1..7f78e50021533 100644 --- a/docs/howto/set-config.rst +++ b/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 You can also derive the connection string at run time by appending ``_cmd`` to the key like this: