You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ur...@apache.org on 2023/08/10 03:47:42 UTC

[airflow] branch 31851 created (now a02a937d7f)

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

uranusjr pushed a change to branch 31851
in repository https://gitbox.apache.org/repos/asf/airflow.git


      at a02a937d7f Format

This branch includes the following new commits:

     new a02a937d7f Format

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[airflow] 01/01: Format

Posted by ur...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit a02a937d7f3dbf858d614ccf1027d65e28e67373
Author: Tzu-ping Chung <ur...@gmail.com>
AuthorDate: Thu Aug 10 11:46:46 2023 +0800

    Format
---
 airflow/cli/cli_config.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/airflow/cli/cli_config.py b/airflow/cli/cli_config.py
index 1226009c3f..3c46b3f19f 100644
--- a/airflow/cli/cli_config.py
+++ b/airflow/cli/cli_config.py
@@ -545,8 +545,11 @@ ARG_DESERIALIZE_JSON = Arg(("-j", "--json"), help="Deserialize JSON variable", a
 ARG_SERIALIZE_JSON = Arg(("-j", "--json"), help="Serialize JSON variable", action="store_true")
 ARG_VAR_IMPORT = Arg(("file",), help="Import variables from JSON file")
 ARG_VAR_EXPORT = Arg(
-    ("file",), help="Export all variables to JSON file", type=argparse.FileType("w", encoding="UTF-8")
+    ("file",),
+    help="Export all variables to JSON file",
+    type=argparse.FileType("w", encoding="UTF-8"),
 )
+
 # kerberos
 ARG_PRINCIPAL = Arg(("principal",), help="kerberos principal", nargs="?")
 ARG_KEYTAB = Arg(("-k", "--keytab"), help="keytab", nargs="?", default=conf.get("kerberos", "keytab"))