From 871bebed772668701cbef1ec270a3234258ce890 Mon Sep 17 00:00:00 2001 From: Adithya Pathipaka Date: Mon, 2 Dec 2024 20:33:42 +0100 Subject: [PATCH] [Minor] Code Formating Fixes --- redash/handlers/queries.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/redash/handlers/queries.py b/redash/handlers/queries.py index 1877af2386..6f1aa5b014 100644 --- a/redash/handlers/queries.py +++ b/redash/handlers/queries.py @@ -117,7 +117,9 @@ def get_queries(self, search_term): multi_byte_search=current_org.get_setting("multi_byte_search_enabled"), ) else: - results = models.Query.all_queries(self.current_user.group_ids, self.current_user.id, include_drafts=settings.FEATURE_VIEW_DRAFT_QUERIES) + results = models.Query.all_queries( + self.current_user.group_ids, self.current_user.id, include_drafts=settings.FEATURE_VIEW_DRAFT_QUERIES + ) return filter_by_tags(results, models.Query.tags) @require_permission("view_query")