diff options
| author | Roger Meier <r.meier@siemens.com> | 2020-02-05 11:38:06 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-05 11:38:06 +0100 | 
| commit | f6d9858ab5c75a6c394db7e0978754fa48334353 (patch) | |
| tree | d0f3dc759b3b5368fa62a6c40b35b33b43df5c56 /gitlab/v4/objects.py | |
| parent | 7843ace913589cf629f448a2541f290a4c7214cd (diff) | |
| parent | 8287a0d993a63501fc859702fc8079a462daa1bb (diff) | |
| download | gitlab-f6d9858ab5c75a6c394db7e0978754fa48334353.tar.gz | |
Merge pull request #1007 from python-gitlab/chore/user-update
chore(user): update user attributes
Diffstat (limited to 'gitlab/v4/objects.py')
| -rw-r--r-- | gitlab/v4/objects.py | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index 1750a36..b0e686d 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -414,6 +414,7 @@ class UserManager(CRUDMixin, RESTManager):          "search",          "custom_attributes",          "status", +        "two_factor",      )      _create_attrs = (          tuple(), @@ -438,6 +439,8 @@ class UserManager(CRUDMixin, RESTManager):              "organization",              "location",              "avatar", +            "public_email", +            "private_profile",          ),      )      _update_attrs = ( @@ -459,6 +462,8 @@ class UserManager(CRUDMixin, RESTManager):              "organization",              "location",              "avatar", +            "public_email", +            "private_profile",          ),      )      _types = {"confirm": types.LowercaseStringAttribute, "avatar": types.ImageAttribute} | 
