Skip to content

Commit f08bfbb

Browse files
committed
noqa comment in wrong place? experimenting....
1 parent bbb1ff3 commit f08bfbb

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

irods/access.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,7 @@ class iRODSAccess(_iRODSAccess_base, metaclass=_Access_LookupMeta):
210210
server (in the `set` call) and back again to the client again (in the `get` call).
211211
"""
212212

213-
def __init__(self, access_name, path, user_name="", user_zone="", user_type=None):
214-
# noqa: D107
213+
def __init__(self, access_name, path, user_name="", user_zone="", user_type=None): # noqa: D107
215214
self.codes = self.__class__.codes
216215
self.strings = self.__class__.strings
217216
super().__init__(access_name, path, user_name, user_zone, user_type)

irods/manager/access_manager.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ def _to_acl_operation_json(op_input: iRODSAccess):
4545
}
4646

4747
def apply_atomic_operations(self, logical_path: str, *operations, admin=False):
48+
"""
49+
Apply the requested operations atomically to the object at logical_path.
50+
51+
Args:
52+
logical_path: the fully qualified logical path of the target data object or collection.
53+
operations: a sequence of ACLOperation instances.
54+
admin: True if the admin flag should be applied for the Atomic ACLs api call.
55+
"""
4856
request_text = {
4957
"logical_path": logical_path,
5058
"admin_mode": admin,

0 commit comments

Comments
 (0)