Skip to content

Commit

Permalink
ReferenceFileSystem: use fs.open instead of fs._open (#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry authored Jan 16, 2025
1 parent 2e89875 commit 1962a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datachain/lib/arrow.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _open(self, path, mode="rb", *args, **kwargs):
# reads the whole file in-memory.
(uri,) = self.references[path]
protocol, _ = split_protocol(uri)
return self.fss[protocol]._open(uri, mode, *args, **kwargs)
return self.fss[protocol].open(uri, mode, *args, **kwargs)


class ArrowGenerator(Generator):
Expand Down

0 comments on commit 1962a64

Please sign in to comment.