This is an automated email from the ASF dual-hosted git repository.

apitrou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 0d3e691  ARROW-8439: [Python] Update options usage in S3FileSystem docs
0d3e691 is described below

commit 0d3e69191c353212679e07893737c16c70a961e8
Author: Joris Van den Bossche <[email protected]>
AuthorDate: Tue Apr 14 10:54:50 2020 +0200

    ARROW-8439: [Python] Update options usage in S3FileSystem docs
    
    Tiny error I just noticed, leftover from the API changes.
    
    Closes #6927 from jorisvandenbossche/ARROW-8439-fs-docs
    
    Authored-by: Joris Van den Bossche <[email protected]>
    Signed-off-by: Antoine Pitrou <[email protected]>
---
 docs/source/python/filesystems.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/source/python/filesystems.rst 
b/docs/source/python/filesystems.rst
index a26f02d..a3e71f1 100644
--- a/docs/source/python/filesystems.rst
+++ b/docs/source/python/filesystems.rst
@@ -51,7 +51,7 @@ the ``AWS_ACCESS_KEY_ID`` and ``AWS_SECRET_ACCESS_KEY`` 
environment variables),
 here is how you can read contents from a S3 bucket::
 
    >>> from pyarrow import fs
-   >>> s3 = fs.S3FileSystem(fs.S3Options(region='eu-west-3'))
+   >>> s3 = fs.S3FileSystem(region='eu-west-3')
 
    # List all contents in a bucket, recursively
    >>> s3.get_target_stats(fs.FileSelector('my-test-bucket', recursive=True))

Reply via email to