From 951dace6cab0731c41c198f1c29a12cf7193425f Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Tue, 30 Apr 2024 09:29:14 +0200 Subject: [PATCH] GH-40342: [Python] Fix pickling of LocalFileSystem for cython 2 --- python/pyarrow/_fs.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/python/pyarrow/_fs.pyx b/python/pyarrow/_fs.pyx index 0e635b2c8a28a..b480004b84383 100644 --- a/python/pyarrow/_fs.pyx +++ b/python/pyarrow/_fs.pyx @@ -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