amol- commented on a change in pull request #11245:
URL: https://github.com/apache/arrow/pull/11245#discussion_r718555472
##########
File path: python/pyarrow/_fs.pyx
##########
@@ -934,36 +934,42 @@ class FileSystemHandler(ABC):
"""
Implement PyFileSystem.type_name.
"""
+ get_type_name.__doc__ = FileSystem.get_type_name.__doc__
@abstractmethod
def get_file_info(self, paths):
"""
Implement PyFileSystem.get_file_info(paths).
"""
+ get_file_info.__doc__ = FileSystem.get_file_info.__doc__
@abstractmethod
def get_file_info_selector(self, selector):
"""
Implement PyFileSystem.get_file_info(selector).
"""
+ get_file_info_selector.__doc__ = FileSystem.get_file_info_selector.__doc__
Review comment:
:+1: removed all docs copies between FileSystem and FileSystemHandler
##########
File path: python/pyarrow/io.pxi
##########
@@ -1307,6 +1307,18 @@ ctypedef CRandomAccessFile* _RandomAccessFilePtr
cdef class BufferedInputStream(NativeFile):
+ """
+ Wraps an input stream making it buffered.
+
Review comment:
:+1:
##########
File path: python/pyarrow/io.pxi
##########
@@ -1307,6 +1307,18 @@ ctypedef CRandomAccessFile* _RandomAccessFilePtr
cdef class BufferedInputStream(NativeFile):
+ """
+ Wraps an input stream making it buffered.
+
+ Parameters
+ ----------
+ stream : NativeFile
+ The stream to wrap with the buffer
+ buffer_size : int
+ Size of the buffer that should be added.
Review comment:
:+1:
--
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]