mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-17 18:44:11 -05:00
Remove extraneous arguments to super
> dont need self.__class__, self in super - that's a python 2.x crutch. > super() is equivalent
This commit is contained in:
@@ -10,7 +10,7 @@ KEY_TYPE_TEST = 'test'
|
||||
|
||||
class ApiKeyApiClient(BaseAPIClient):
|
||||
def __init__(self):
|
||||
super(self.__class__, self).__init__("a", "b", "c")
|
||||
super().__init__("a", "b", "c")
|
||||
|
||||
def init_app(self, app):
|
||||
self.base_url = app.config['API_HOST_NAME']
|
||||
|
||||
Reference in New Issue
Block a user