Skip to content
Merged
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 obstore/python/obstore/auth/earthdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class NasaEarthdataCredentialProvider:

# Download the file by streaming chunks
try:
result = obstore.get(store, filename)
result = store.get(filename)
with open(filename, "wb") as f:
for chunk in iter(result):
f.write(chunk)
Expand Down Expand Up @@ -275,7 +275,7 @@ class NasaEarthdataAsyncCredentialProvider:

# Download the file by streaming chunks
try:
result = await obstore.get_async(store, filename)
result = await store.get(filename)
with open(filename, "wb") as f:
async for chunk in aiter(result):
f.write(chunk)
Expand Down