Skip to content

Commit

Permalink
ignore pylint false positive on dynamically created class to fix week…
Browse files Browse the repository at this point in the history
…ly ci
  • Loading branch information
cognifloyd authored and stackstorm-neptr committed Dec 27, 2021
1 parent 6e60a02 commit 0cb5beb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sensors/sqs_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 0cb5beb

Please sign in to comment.