Skip to content

Commit 49f2696

Browse files
authored
MINOR: [Docs] Use endpoint_override in code example for minIO (apache#13436)
Current code snippet show how to configure connection to minIO appears to use wrong named argument for endpoint. Instead of `endpoint` it should be `endpoint_override` see https://arrow.apache.org/docs/python/generated/pyarrow.fs.S3FileSystem.html <img width="560" alt="image" src="https://user-images.githubusercontent.com/179870/175815553-18042907-1c9d-4cd1-8a3b-ef9a1284b4c8.png"> Authored-by: Jürgen Walter <juwalter@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
1 parent 3ac0959 commit 49f2696

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/source/python/dataset.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ useful for testing or benchmarking.
386386
from pyarrow import fs
387387
388388
# By default, MinIO will listen for unencrypted HTTP traffic.
389-
minio = fs.S3FileSystem(scheme="http", endpoint="localhost:9000")
389+
minio = fs.S3FileSystem(scheme="http", endpoint_override="localhost:9000")
390390
dataset = ds.dataset("ursa-labs-taxi-data/", filesystem=minio,
391391
partitioning=["year", "month"])
392392

0 commit comments

Comments
 (0)