TennyZhuang opened a new issue, #47559:
URL: https://github.com/apache/arrow/issues/47559

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   ```
   In [1]: import fsspec
      ...: from pyarrow.fs import PyFileSystem, FSSpecHandler
   
   In [2]: memfs = fsspec.filesystem("memory")
   
   In [3]: fs_handle = FSSpecHandler(memfs)
   
   In [4]: fs_handle.delete_root_dir_contents()
   ---------------------------------------------------------------------------
   TypeError                                 Traceback (most recent call last)
   Cell In[4], line 1
   ----> 1 fs_handle.delete_root_dir_contents()
   
   File ~/.global-python/lib/python3.13/site-packages/pyarrow/fs.py:385, in 
FSSpecHandler.delete_root_dir_contents(self)
       384 def delete_root_dir_contents(self):
   --> 385     self._delete_dir_contents("/")
   
   TypeError: FSSpecHandler._delete_dir_contents() missing 1 required 
positional argument: 'missing_dir_ok'
   
   In [5]: 
   ```
   
   ### Component(s)
   
   Python


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to