Skip to content

Commit

Permalink
BigQuery: use default for useQueryAnnotation option (#6824)
Browse files Browse the repository at this point in the history
This option may not be set after an upgrade

Co-authored-by: github-actions <[email protected]>
  • Loading branch information
eradman and github-actions authored Mar 21, 2024
1 parent e360e46 commit 6575a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/query_runner/big_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class BigQuery(BaseQueryRunner):

def __init__(self, configuration):
super().__init__(configuration)
self.should_annotate_query = configuration["useQueryAnnotation"]
self.should_annotate_query = configuration.get("useQueryAnnotation", False)

@classmethod
def enabled(cls):
Expand Down

0 comments on commit 6575a64

Please sign in to comment.