diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-09-12 20:58:31 +0200 |
---|---|---|
committer | Nejc Habjan <hab.nejc@gmail.com> | 2021-09-13 08:55:22 +0200 |
commit | 4e8e4b4101059eee43c4c012b131355428ebc4f7 (patch) | |
tree | 17a058762552947a2c79757ed2e31b4a08050386 /gitlab/v4/objects/users.py | |
parent | ce4bc0daef355e2d877360c6e496c23856138872 (diff) | |
download | gitlab-feat/create-delete-token.tar.gz |
feat(objects): support Create and Revoke personal access token APIfeat/create-delete-token
Diffstat (limited to 'gitlab/v4/objects/users.py')
-rw-r--r-- | gitlab/v4/objects/users.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gitlab/v4/objects/users.py b/gitlab/v4/objects/users.py index c0f8745..63da837 100644 --- a/gitlab/v4/objects/users.py +++ b/gitlab/v4/objects/users.py @@ -17,6 +17,7 @@ from gitlab.mixins import ( from .custom_attributes import UserCustomAttributeManager # noqa: F401 from .events import UserEventManager # noqa: F401 +from .personal_access_tokens import UserPersonalAccessTokenManager # noqa: F401 __all__ = [ "CurrentUserEmail", @@ -122,6 +123,7 @@ class User(SaveMixin, ObjectDeleteMixin, RESTObject): impersonationtokens: "UserImpersonationTokenManager" keys: "UserKeyManager" memberships: "UserMembershipManager" + personal_access_tokens: UserPersonalAccessTokenManager projects: "UserProjectManager" status: "UserStatusManager" |