Skip to content

Commit

Permalink
[Minor] Code Formating Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyapathipaka committed Dec 2, 2024
1 parent 4bee7e0 commit 871bebe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion redash/handlers/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 871bebe

Please sign in to comment.