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 ff6dd9e commit ab27e97Copy full SHA for ab27e97
jupyter_drives/manager.py
@@ -42,10 +42,11 @@ def __init__(self, config: traitlets.config.Config) -> None:
42
self._content_managers = {}
43
self._max_files_listed = 1000
44
45
- # initiate aiobotocore session if we are dealing with S3 drives
+ # initiate aiobotocore session if we are dealing with S3 drives
46
if self._config.provider == 's3':
47
- self._s3_clients = {}
48
- self._s3_session = get_session()
+ if self._config.access_key_id is not None and self._config.secret_access_key is not None:
+ self._s3_clients = {}
49
+ self._s3_session = get_session()
50
51
@property
52
def base_api_url(self) -> str:
0 commit comments