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:
Chris Hill-Scott
2020-01-16 16:12:02 +00:00
parent c4818eb7f2
commit 67b3619229

View File

@@ -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: