From bb84b0c0b0a97c88cae24cb016483ead25262a77 Mon Sep 17 00:00:00 2001 From: Martin Durant Date: Wed, 30 Oct 2024 09:40:46 -0400 Subject: [PATCH] Provide default _fetch_range implementation for File (#1732) Since this was not marked as NotImplemented --- fsspec/spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsspec/spec.py b/fsspec/spec.py index 6ce338b32..9659f2e98 100644 --- a/fsspec/spec.py +++ b/fsspec/spec.py @@ -1915,7 +1915,7 @@ def _initiate_upload(self): def _fetch_range(self, start, end): """Get the specified set of bytes from remote""" - raise NotImplementedError + return self.fs.cat_file(self.path, start=start, end=end) def read(self, length=-1): """