We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 250ae4d commit a8a06e1Copy full SHA for a8a06e1
api/src/scripts/load_dataset_on_create.py
@@ -20,13 +20,13 @@
20
21
22
def get_pubsub_client():
23
+ credentials, project = default()
24
+ logging.error(f"Authenticated project: {project}")
25
+ logging.error(f"Service Account Email: {credentials.service_account_email}")
26
with lock:
27
global pubsub_client
28
if pubsub_client is None:
29
pubsub_client = pubsub_v1.PublisherClient()
- credentials, project = default()
- logging.info(f"Authenticated project: {project}")
- logging.info(f"Service Account Email: {credentials.service_account_email}")
30
31
return pubsub_client
32
0 commit comments