diff options
author | John L. Villalovos <john@sodarock.com> | 2021-02-25 21:30:21 -0800 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2021-02-25 21:30:21 -0800 |
commit | 7c4e62597365e8227b8b63ab8ba0c94cafc7abc8 (patch) | |
tree | e29554e7e5cd6e86fa3ebd483c784e3beb765b36 | |
parent | 666225221deec06014d5ccff46d1c21d5828c977 (diff) | |
download | gitlab-7c4e62597365e8227b8b63ab8ba0c94cafc7abc8.tar.gz |
fix: remove duplicate class definitions in v4/objects/users.py
The classes UserStatus and UserStatusManager were each declared twice.
Remove the duplicate declarations.
-rw-r--r-- | gitlab/v4/objects/users.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gitlab/v4/objects/users.py b/gitlab/v4/objects/users.py index 84e52ad..d6643ae 100644 --- a/gitlab/v4/objects/users.py +++ b/gitlab/v4/objects/users.py @@ -43,8 +43,6 @@ __all__ = [ "UserGPGKeyManager", "UserKey", "UserKeyManager", - "UserStatus", - "UserStatusManager", "UserIdentityProviderManager", "UserImpersonationToken", "UserImpersonationTokenManager", @@ -349,16 +347,6 @@ class UserKeyManager(ListMixin, CreateMixin, DeleteMixin, RESTManager): _create_attrs = (("title", "key"), tuple()) -class UserStatus(RESTObject): - pass - - -class UserStatusManager(GetWithoutIdMixin, RESTManager): - _path = "/users/%(user_id)s/status" - _obj_cls = UserStatus - _from_parent_attrs = {"user_id": "id"} - - class UserIdentityProviderManager(DeleteMixin, RESTManager): """Manager for user identities. |