Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions flask_cloud_ndb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import os

from google.auth._default import _load_credentials_from_file
from google.auth import load_credentials_from_file
from google.cloud import ndb


Expand Down Expand Up @@ -63,7 +63,7 @@ def init_app(self, app):
credentials_file = app.config["NDB_GOOGLE_APPLICATION_CREDENTIALS"]
if credentials_file:
# call google auth helper to initialise credentials
credentials, project_id = _load_credentials_from_file(
credentials, project_id = load_credentials_from_file(
credentials_file)
else:
# default credentials, OR load from env, through underlying
Expand Down