Skip to content

Commit

Permalink
Add readthedocs configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mtth committed Aug 2, 2023
1 parent ae8aa7e commit 14f006e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .readthedocs.yaml
@@ -0,0 +1,10 @@
version: 2
build:
os: ubuntu-22.04
tools:
python: '3.9'
sphinx:
configuration: doc/conf.py
python:
install:
- requirements: doc/requirements.txt
4 changes: 2 additions & 2 deletions hdfs/client.py
Expand Up @@ -359,15 +359,15 @@ def set_acl(self, hdfs_path, acl_spec, clear=True):
self._modify_acl_entries(hdfs_path, aclspec=acl_spec)

def remove_acl_entries(self, hdfs_path, acl_spec):
"""RemoveAcl_ for a file or folder on HDFS.
"""RemoveAclEntries_ for a file or folder on HDFS.
:param hdfs_path: Path to an existing remote file or directory. An
:class:`HdfsError` will be raised if the path doesn't exist.
:param acl_spec: String representation of an ACL spec. Must be a valid
string with entries for user, group and other. For example:
`"user::rwx,user:foo:rw-,group::r--,other::---"`.
.. _RemoveAcl: https://hadoop.apache.org/docs/stable2/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Remove_ACL_Entries
.. _RemoveAclEntries: https://hadoop.apache.org/docs/stable2/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Remove_ACL_Entries
"""
_logger.info('Removing ACL spec on %r for %r.', hdfs_path, acl_spec)
Expand Down

0 comments on commit 14f006e

Please sign in to comment.