From 6218b9e4b94595a1edef07b77251a1e125d7f284 Mon Sep 17 00:00:00 2001 From: santoshk_qubole Date: Mon, 30 Mar 2020 16:11:46 +0530 Subject: [PATCH] fix lint errors --- qds_sdk/engine.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/qds_sdk/engine.py b/qds_sdk/engine.py index 6ac665e2..3ac6f6a2 100644 --- a/qds_sdk/engine.py +++ b/qds_sdk/engine.py @@ -78,11 +78,16 @@ def set_engine_config(self, default_pool, enable_rubix) self.set_presto_settings(presto_version, custom_presto_config) self.set_spark_settings(spark_version, custom_spark_config) - # because of same config dbtap_id used in mlflow and airflow, configs are getting created for both cluster type + # because of same config dbtap_id used in mlflow and airflow, + # configs are getting created for both cluster type if mlflow_version: self.set_mlflow_settings(mlflow_version, dbtap_id) if airflow_version: - self.set_airflow_settings(dbtap_id, fernet_key, overrides, airflow_version, airflow_python_version) + self.set_airflow_settings(dbtap_id, + fernet_key, + overrides, + airflow_version, + airflow_python_version) def set_fairscheduler_settings(self, fairscheduler_config_xml=None, @@ -259,7 +264,7 @@ def engine_parser(argparser): default=None, help="mlflow version for mlflow cluster", ) mlflow_settings_group.add_argument("--mlflow-dbtap-id", - dest="dbtap_id", - default=None, - help="dbtap id for mlflow cluster", ) + dest="dbtap_id", + default=None, + help="dbtap id for mlflow cluster", )