Fixed pylint warnings credential_provider
class CredentialProvider:
- async def is_valid_appid(self, appId):
+ async def is_valid_appid(self, app_id):
raise NotImplementedError
- async def get_app_password(self, appId):
+ async def get_app_password(self, app_id):
raise NotImplementedError
async def is_authentication_disabled(self):
@@ -13,11 +13,11 @@ class SimpleCredentialProvider(CredentialProvider):
self.app_id = app_id
self.password = password
- async def is_valid_appid(self, appId):
- return self.app_id == appId
+ async def is_valid_appid(self, app_id):
+ return self.app_id == app_id
- async def get_app_password(self, appId):
- return self.password if self.app_id == appId else None
+ async def get_app_password(self, app_id):
+ return self.password if self.app_id == app_id else None
async def is_authentication_disabled(self):
return not self.app_id
