Skip to content

Commit

Permalink
ARROW-9719: [Python] Improve HadoopFileSystem docstring
Browse files Browse the repository at this point in the history
Document missing parameters.

Closes #10867 from pitrou/ARROW-9719-hdfs-docstring

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
  • Loading branch information
pitrou committed Aug 4, 2021
1 parent decfe5c commit b04d59e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/pyarrow/_hdfs.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ cdef class HadoopFileSystem(FileSystem):
HDFS host to connect to.
port : int, default 8020
HDFS port to connect to.
user : str, default None
Username when connecting to HDFS; None implies login user.
replication : int, default 3
Number of copies each block will have.
buffer_size : int, default 0
Expand All @@ -47,6 +49,9 @@ cdef class HadoopFileSystem(FileSystem):
128 MB.
kerb_ticket : string or path, default None
If not None, the path to the Kerberos ticket cache.
extra_conf : dict, default None
Extra key/value pairs for configuration; will override any
hdfs-site.xml properties.
"""

cdef:
Expand Down

0 comments on commit b04d59e

Please sign in to comment.