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
17 changes: 8 additions & 9 deletions s3_storage_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,14 @@ async def fetch(self, path, file_info):
# coroutine returned by `defer_to_threadpool` is used, and therefore
# actually run.
run_in_background(
self._module_api.defer_to_threadpool(
self._s3_pool,
s3_download_task,
self._get_s3_client(),
self.bucket,
self.prefix + path,
self.extra_args,
d,
)
self._module_api.defer_to_threadpool,
self._s3_pool,
s3_download_task,
self._get_s3_client(),
self.bucket,
self.prefix + path,
self.extra_args,
d,
)

# DO await on `d`, as it will resolve once a connection to S3 has been
Expand Down