diff --git a/docs/apache-airflow/core-concepts/executor/index.rst b/docs/apache-airflow/core-concepts/executor/index.rst index 1bb11f2335ab6..1a31f9fc8f18d 100644 --- a/docs/apache-airflow/core-concepts/executor/index.rst +++ b/docs/apache-airflow/core-concepts/executor/index.rst @@ -133,17 +133,17 @@ Some examples of valid multiple executor configuration: .. code-block:: ini [core] - executor = 'LocalExecutor' + executor = LocalExecutor .. code-block:: ini [core] - executor = 'LocalExecutor,CeleryExecutor' + executor = LocalExecutor,CeleryExecutor .. code-block:: ini [core] - executor = 'KubernetesExecutor,my.custom.module.ExecutorClass' + executor = KubernetesExecutor,my.custom.module.ExecutorClass .. note:: @@ -154,7 +154,7 @@ To make it easier to specify executors on tasks and DAGs, executor configuration .. code-block:: ini [core] - executor = 'LocalExecutor,my.custom.module.ExecutorClass:ShortName' + executor = LocalExecutor,ShortName:my.custom.module.ExecutorClass .. note:: If a DAG specifies a task to use an executor that is not configured, the DAG will fail to parse and a warning dialog will be shown in the Airflow UI. Please ensure that all executors you wish to use are specified in Airflow configuration on *any* host/container that is running an Airflow component (scheduler, workers, etc).