Skip to content

Commit 00dc12f

Browse files
refactor: address quality issues
1 parent 9cde568 commit 00dc12f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

openedx/core/djangoapps/content_libraries/api/libraries.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,8 @@ def set_library_user_permissions(library_key: LibraryLocatorV2, user: UserType,
519519
defaults={"access_level": access_level},
520520
)
521521

522-
def assign_library_role_to_user(library_key: LibraryLocatorV2, user: UserType, access_level: str | None):
522+
523+
def assign_library_role_to_user(library_key: LibraryLocatorV2, user: UserType, access_level: str):
523524
"""Grant a role to the specified user for this library.
524525
525526
Args:

0 commit comments

Comments
 (0)