diff --git a/sensors/sqs_sensor.py b/sensors/sqs_sensor.py index c34919a1..a060e6d9 100644 --- a/sensors/sqs_sensor.py +++ b/sensors/sqs_sensor.py @@ -176,6 +176,7 @@ def _setup_session(self): aws_secret_access_key=self.secret_access_key) if not self.account_id: + # pylint: disable=no-member self.account_id = session.client('sts').get_caller_identity().get('Account') self.credentials[self.account_id] = (self.access_key_id, self.secret_access_key, None)