AlenkaF commented on code in PR #13564: URL: https://github.com/apache/arrow/pull/13564#discussion_r918674454
########## python/pyarrow/_fs.pyx: ########## @@ -100,6 +100,53 @@ cdef class FileInfo(_Weakrefable): If given, the filesystem entry size in bytes. This should only be given if `type` is `FileType.File`. + Examples + -------- + Generate a file: + + >>> from pyarrow import fs + >>> local = fs.LocalFileSystem() + >>> with local.open_output_stream('/tmp/fileinfo.dat') as stream: + ... stream.write(b'data') + ... + 4 Review Comment: Oh, I guess if I remove extra '...' then doctest doesn't like the numbered output ("4") also. So I will remove '...' and the extra numbers 👍 -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org