From db4ae1e427998fa09e8dcdea9bd5a51f716d7055 Mon Sep 17 00:00:00 2001 From: "J.C. Zhong" Date: Tue, 28 Nov 2023 18:40:29 +0000 Subject: [PATCH] fix linter --- .../server/lib/table_upload/exporter/s3_exporter.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/querybook/server/lib/table_upload/exporter/s3_exporter.py b/querybook/server/lib/table_upload/exporter/s3_exporter.py index 722e03d1e..e59c4ae96 100644 --- a/querybook/server/lib/table_upload/exporter/s3_exporter.py +++ b/querybook/server/lib/table_upload/exporter/s3_exporter.py @@ -79,14 +79,7 @@ def destination_s3_folder(self, session=None) -> str: schema_name, table_name = self._fq_table_name if "s3_path" in self._exporter_config: s3_path: str = self._exporter_config["s3_path"] - - return ( - sanitize_s3_url(s3_path) - + "/" - + schema_name - + "/" - + table_name - ) + return sanitize_s3_url(s3_path) + "/" + schema_name + "/" + table_name query_engine = get_query_engine_by_id(self._engine_id, session=session) metastore = get_metastore_loader(query_engine.metastore_id, session=session)