Skip to content

Commit 1a2cabc

Browse files
committed
Add note to gcp session utils method
1 parent ede4b37 commit 1a2cabc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: src/dicomweb_client/ext/gcp/session_utils.py

+6
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ def create_session_from_gcp_credentials(
2929
-------
3030
requests.Session
3131
Google Cloud authorized session.
32+
33+
Note
34+
----
35+
Credentials will be read from environment variable
36+
``GOOGLE_APPLICATION_CREDENTIALS`` if set.
37+
3238
"""
3339
if google_credentials is None:
3440
google_credentials, _ = google.auth.default(

0 commit comments

Comments
 (0)