Skip to content

Commit

Permalink
use awss3 directly
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed Sep 9, 2024
1 parent f0c9f13 commit b847f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/readbytes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function readbytes(path, start::Integer, stop::Integer)
end
end

function readbytes(path::Zarr.AWSS3.S3Path, start::Integer, stop::Integer)
function readbytes(path::AWSS3.S3Path, start::Integer, stop::Integer)
@assert start < stop "In `readbytes`, start ($(start)) must be less than stop ($(stop))."
return read(path; byte_range = (start+1):stop)
end

0 comments on commit b847f40

Please sign in to comment.