You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by xd...@apache.org on 2020/08/22 08:20:11 UTC

[airflow] branch master updated: Fix identation in executor_config example (#10467)

This is an automated email from the ASF dual-hosted git repository.

xddeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 264c466  Fix identation in executor_config example (#10467)
264c466 is described below

commit 264c466b467845bcca25081e91ed76222ae5e7fa
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Sat Aug 22 09:19:33 2020 +0100

    Fix identation in executor_config example (#10467)
---
 airflow/models/baseoperator.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/airflow/models/baseoperator.py b/airflow/models/baseoperator.py
index 21f9d93..984e66f 100644
--- a/airflow/models/baseoperator.py
+++ b/airflow/models/baseoperator.py
@@ -257,9 +257,9 @@ class BaseOperator(Operator, LoggingMixin, metaclass=BaseOperatorMeta):
 
             MyOperator(...,
                 executor_config={
-                "KubernetesExecutor":
-                    {"image": "myCustomDockerImage"}
-                    }
+                    "KubernetesExecutor":
+                        {"image": "myCustomDockerImage"}
+                }
             )
 
     :type executor_config: dict