pitrou commented on a change in pull request #8067: URL: https://github.com/apache/arrow/pull/8067#discussion_r481086303
########## File path: python/pyarrow/_fs.pyx ########## @@ -405,16 +405,19 @@ cdef class FileSystem(_Weakrefable): Parameters ---------- - paths_or_selector: FileSelector or list of path-likes - Either a selector object or a list of path-like objects. - The selector's base directory will not be part of the results, even - if it exists. If it doesn't exist, use `allow_not_found`. + paths_or_selector: FileSelector, path-like or list of path-likes + Either a selector object, a path-like object or a list of + path-like objects. The selector's base directory will not be + part of the results, even if it exists. If it doesn't exist, + use `allow_not_found`. Returns ------- file_infos : list of FileInfo Review comment: Nit: should update the result type here? I'm not sure what the convention is when the result type can vary... ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org