This is an automated email from the ASF dual-hosted git repository.
kou 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 139b74b195 MINOR: [Doc][Python] In from_uri docs, show that gcsfs is
also supported (#15057)
139b74b195 is described below
commit 139b74b1954fd84dc95cce0ec7e362a3c8ffed13
Author: Dhulkifli Hussein <[email protected]>
AuthorDate: Thu Dec 22 09:22:59 2022 +0300
MINOR: [Doc][Python] In from_uri docs, show that gcsfs is also supported
(#15057)
<img width="913" alt="Screenshot 2022-12-21 at 13 36 59"
src="https://user-images.githubusercontent.com/32780926/208885274-7ed20b39-7121-4bec-93bc-ae6fcf832958.png">
Lead-authored-by: Dhulkifli Hussein
<[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
python/pyarrow/_fs.pyx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/python/pyarrow/_fs.pyx b/python/pyarrow/_fs.pyx
index 557c081493..9285f8a359 100644
--- a/python/pyarrow/_fs.pyx
+++ b/python/pyarrow/_fs.pyx
@@ -425,7 +425,7 @@ cdef class FileSystem(_Weakrefable):
"""
Create a new FileSystem from URI or Path.
- Recognized URI schemes are "file", "mock", "s3fs", "hdfs" and "viewfs".
+ Recognized URI schemes are "file", "mock", "s3fs", "gs", "gcs", "hdfs"
and "viewfs".
In addition, the argument can be a pathlib.Path object, or a string
describing an absolute local path.
@@ -795,7 +795,7 @@ cdef class FileSystem(_Weakrefable):
-------
stream : NativeFile
- Examples
+ Examples
--------
Print the data from the file with `open_input_stream()`:
@@ -912,7 +912,7 @@ cdef class FileSystem(_Weakrefable):
-------
stream : NativeFile
- Examples
+ Examples
--------
Append new data to a FileSystem subclass with nonempty file:
@@ -1134,7 +1134,7 @@ cdef class SubTreeFileSystem(FileSystem):
>>> from pyarrow import fs
>>> local = fs.LocalFileSystem()
>>> with local.open_output_stream('/tmp/local_fs.dat') as stream:
- ... stream.write(b'data')
+ ... stream.write(b'data')
4
Create a directory and a SubTreeFileSystem instance: