◐ Shell
clean mode source ↗

fix(users): allow 'update' API without required email/name/username rewrites by AdrianDC · Pull Request #3332 · python-gitlab/python-gitlab

Expand Up @@ -440,8 +440,10 @@ class UserManager(CRUDMixin[User]): ) ) _update_attrs = RequiredOptional( required=("email", "username", "name"), optional=( "email", "username", "name", "password", "skype", "linkedin", Expand All @@ -462,7 +464,7 @@ class UserManager(CRUDMixin[User]): "private_profile", "color_scheme_id", "theme_id", ), ) ) _types = {"confirm": types.LowercaseStringAttribute, "avatar": types.ImageAttribute}
Expand Down