mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
return project id as str, not bytes (#6303)
This commit is contained in:
@@ -63,7 +63,7 @@ class BigQueryGCE(BigQuery):
|
||||
return requests.get(
|
||||
"http://metadata/computeMetadata/v1/project/project-id",
|
||||
headers={"Metadata-Flavor": "Google"},
|
||||
).content
|
||||
).text
|
||||
|
||||
def _get_bigquery_service(self):
|
||||
credentials = gce.AppAssertionCredentials(scope="https://www.googleapis.com/auth/bigquery")
|
||||
|
||||
Reference in New Issue
Block a user