pitrou commented on code in PR #13564:
URL: https://github.com/apache/arrow/pull/13564#discussion_r924322668
##########
python/pyarrow/_fs.pyx:
##########
@@ -166,19 +208,36 @@ cdef class FileInfo(_Weakrefable):
Returns
-------
type : FileType
+
+ Examples
+ --------
+ >>> file_info = local.get_file_info(path)
+ >>> file_info.type
+ <FileType.File: 2>
Review Comment:
I don't know, do you think this example is useful? The method is trivial
enough that I don't think this is showcasing something interesting.
@jorisvandenbossche What do you think?
--
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]