Skip to content

Commit f74b633

Browse files
committed
extract provider env variable
1 parent d21bfd2 commit f74b633

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jupyter_drives/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ def _load_credentials(self):
104104
self.secret_access_key = os.environ["JP_DRIVES_SECRET_ACCESS_KEY"]
105105
if "JP_DRIVES_SESSION_TOKEN" in os.environ:
106106
self.session_token = os.environ["JP_DRIVES_SESSION_TOKEN"]
107+
if "JP_DRIVES_PROVIDER" in os.environ:
108+
self.provider = os.environ["JP_DRIVES_PROVIDER"]
107109
return
108110

109111
def _extract_credentials_from_file(self, file_path):

0 commit comments

Comments
 (0)