Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Oct 15, 2023
1 parent cfb3c45 commit c588cea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/uproot/source/fsspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ def chunks(
self._num_requested_bytes += sum(stop - start for start, stop in ranges)

chunks = []
# _cat_file is async while cat_file is not
cat_file = self._fs._cat_file if self._fs.async_impl else self._fs.cat_file
for start, stop in ranges:
future = self._executor.submit(cat_file, self._file_path, start, stop)
Expand Down

0 comments on commit c588cea

Please sign in to comment.