Skip to content
Draft
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
3 changes: 2 additions & 1 deletion s3fs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ async def _touch(self, path, truncate=True, data=None, **kwargs):

touch = sync_wrapper(_touch)

async def _cat_file(self, path, version_id=None, start=None, end=None):
async def _cat_file(self, path, version_id=None, start=None, end=None, **kwargs):
bucket, key, vers = self.split_path(path)
if start is not None or end is not None:
head = {"Range": await self._process_limits(path, start, end)}
Expand All @@ -1151,6 +1151,7 @@ async def _call_and_read():
**version_id_kw(version_id or vers),
**head,
**self.req_kw,
**kwargs,
)
try:
return await resp["Body"].read()
Expand Down