summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-03-28 07:53:09 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2018-03-28 07:53:09 +0200
commit32b399af0e506b38a10a2c625338848a03f0b35d (patch)
treefa2832aefa33b86813d1a0a0ad0872cf7cde7fa7 /gitlab/v4/objects.py
parent33b2b1c0d2c88213a84366d1051a5958ad4e2a20 (diff)
downloadgitlab-32b399af0e506b38a10a2c625338848a03f0b35d.tar.gz
Token scopes are a list
Diffstat (limited to 'gitlab/v4/objects.py')
-rw-r--r--gitlab/v4/objects.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index 956038b..a2b4321 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -197,6 +197,7 @@ class UserImpersonationTokenManager(NoUpdateMixin, RESTManager):
_from_parent_attrs = {'user_id': 'id'}
_create_attrs = (('name', 'scopes'), ('expires_at',))
_list_filters = ('state',)
+ _types = {'scopes': types.ListAttribute}
class UserProject(RESTObject):