Skip to content

Commit 6c23981

Browse files
committed
chore: Ignore no-self-use lint suggestion
1 parent 4d85bc6 commit 6c23981

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/_botocore_patches.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ def extract_attributes(self, attributes: _AttributeMapT):
156156
if secret_id and secret_id.startswith("arn:aws:secretsmanager:"):
157157
attributes["aws.secretsmanager.secret.arn"] = secret_id
158158

159+
# pylint: disable=no-self-use
159160
def on_success(self, span: Span, result: _BotoResultT):
160161
secret_arn = result.get("ARN")
161162
if secret_arn:

0 commit comments

Comments
 (0)