Skip to content

Commit bcd95b1

Browse files
skshetrydreadatour
authored andcommitted
ReferenceFileSystem: use fs.open instead of fs._open (#823)
1 parent e31210c commit bcd95b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datachain/lib/arrow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def _open(self, path, mode="rb", *args, **kwargs):
3333
# reads the whole file in-memory.
3434
(uri,) = self.references[path]
3535
protocol, _ = split_protocol(uri)
36-
return self.fss[protocol]._open(uri, mode, *args, **kwargs)
36+
return self.fss[protocol].open(uri, mode, *args, **kwargs)
3737

3838

3939
class ArrowGenerator(Generator):

0 commit comments

Comments
 (0)