mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 19:03:30 -05:00
Remove redundant redefinition of __init__
At some point we made the __init__ method on the base class accept `*args` as an argument, so we don’t need to define our own method here.
This commit is contained in:
@@ -607,9 +607,6 @@ class Users(ModelList):
|
||||
client_method = user_api_client.get_users_for_service
|
||||
model = User
|
||||
|
||||
def __init__(self, service_id):
|
||||
self.items = self.client(service_id)
|
||||
|
||||
def get_name_from_id(self, id):
|
||||
for user in self:
|
||||
if user.id == id:
|
||||
|
||||
Reference in New Issue
Block a user