Skip to content

Commit 32b399a

Browse files
author
Gauvain Pocentek
committed
Token scopes are a list
1 parent 33b2b1c commit 32b399a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitlab/v4/objects.py

+1
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ class UserImpersonationTokenManager(NoUpdateMixin, RESTManager):
197197
_from_parent_attrs = {'user_id': 'id'}
198198
_create_attrs = (('name', 'scopes'), ('expires_at',))
199199
_list_filters = ('state',)
200+
_types = {'scopes': types.ListAttribute}
200201

201202

202203
class UserProject(RESTObject):

0 commit comments

Comments
 (0)