Skip to content

Commit 30831b2

Browse files
committed
feat(users): allow updating only a user's email, username or name
Signed-off-by: Adrian DC <radian.dc@gmail.com>
1 parent cb09624 commit 30831b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gitlab/v4/objects/users.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,10 @@ class UserManager(CRUDMixin[User]):
453453
)
454454
)
455455
_update_attrs = RequiredOptional(
456-
required=("email", "username", "name"),
457456
optional=(
457+
"email",
458+
"username",
459+
"name",
458460
"password",
459461
"skype",
460462
"linkedin",

0 commit comments

Comments
 (0)