mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-18 05:30:21 -04: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:
@@ -6,7 +6,7 @@ from app.notify_client.models import User
|
||||
|
||||
class UserApiClient(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