Skip to content

Commit

Permalink
apacheGH-40342: [Python] Fix pickling of LocalFileSystem for cython 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Apr 30, 2024
1 parent e4f3146 commit 951dace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/pyarrow/_fs.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ cdef class FileSystem(_Weakrefable):
"SubTreeFileSystem")

@staticmethod
@binding(True) # Required for cython < 3
def _from_uri(uri):
fs, _path = FileSystem.from_uri(uri)
return fs
Expand Down

0 comments on commit 951dace

Please sign in to comment.