Skip to content

Commit 6e96fba

Browse files
committed
fix docstrings
1 parent 1c7d86b commit 6e96fba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

synapseclient/models/schema_organization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def update_acl(
215215
syn.login()
216216
217217
org = SchemaOrganization("my.org.name")
218-
org.update_acl_async(
218+
org.update_acl(
219219
principal_id=1,
220220
access_type=["READ"]
221221
)
@@ -491,7 +491,7 @@ async def update_acl_async(
491491
Updates the ACL for a principal for this organization
492492
493493
Arguments:
494-
principal_id: the id of the principal whose permissions are to be updates
494+
principal_id: the id of the principal whose permissions are to be updated
495495
access_type: List of permission types (e.g., ["READ", "CREATE", "DELETE"])
496496
see:
497497
[ACCESS_TYPE]https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/ACCESS_TYPE.html

0 commit comments

Comments
 (0)