Skip to content

Commit

Permalink
Update earthaccess/store.py as per suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Chuck Daniels <[email protected]>
  • Loading branch information
Sherwin-14 and chuckwondo committed Jul 25, 2024
1 parent 59255eb commit 40edbc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions earthaccess/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
get_requests_https_session,
get_s3_credentials,
get_s3fs_session,
get_s3_filesystem,
granule_query,
login,
open,
Expand All @@ -34,6 +35,7 @@
"get_fsspec_https_session",
"get_s3fs_session",
"get_s3_credentials",
"get_s3_filesystem",
"get_edl_token",
"granule_query",
"collection_query",
Expand Down
2 changes: 1 addition & 1 deletion earthaccess/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def get_s3fs_session(
endpoint: pass the URL for the credentials directly
Returns:
a s3fs file instance
An `s3fs.S3FileSystem` authenticated for reading in-region in us-west-2 for 1 hour.
"""
return self.get_s3_filesystem(daac, concept_id, provider, endpoint)

Expand Down

0 comments on commit 40edbc4

Please sign in to comment.