samredai commented on code in PR #4504:
URL: https://github.com/apache/iceberg/pull/4504#discussion_r843338128


##########
python/src/iceberg/io/pyarrow.py:
##########
@@ -42,12 +42,12 @@ class PyArrowFile(InputFile, OutputFile):
 
     Examples:
         >>> from iceberg.io.pyarrow import PyArrowFile
-        >>> input_file = PyArrowFile("s3://foo/bar.txt")
+        >>> # input_file = PyArrowFile("s3://foo/bar.txt")
         >>> # Read the contents of the PyArrowFile instance
         >>> # Make sure that you have permissions to read/write
         >>> # file_content = input_file.open().read()
 
-        >>> output_file = PyArrowFile("s3://baz/qux.txt")
+        >>> # output_file = PyArrowFile("s3://baz/qux.txt")

Review Comment:
   This change is unrelated to this PR but I noticed that since our tests run 
doc-strings now, this line and the line defining `input_file` was actually 
making a request to aws 
[here](https://github.com/apache/iceberg/blob/master/python/src/iceberg/io/pyarrow.py#L61)
 to determine the region. This just comments those lines out.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to