From a0fc9c95af23863382bc082380a34de25d72ccde Mon Sep 17 00:00:00 2001 From: Zhonghao Zhao Date: Thu, 13 Jun 2024 16:11:30 -0700 Subject: [PATCH] Address lint. --- .../src/amazon/opentelemetry/distro/patches/_bedrock_patches.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/_bedrock_patches.py b/aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/_bedrock_patches.py index 95d081230..b6753e02a 100644 --- a/aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/_bedrock_patches.py +++ b/aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/_bedrock_patches.py @@ -135,6 +135,7 @@ def extract_attributes(self, attributes: _AttributeMapT): class _BedrockExtension(_AwsSdkExtension): + # pylint: disable=no-self-use def on_success(self, span: Span, result: _BotoResultT): # GuardrailId guardrail_id = result.get("guardrailId")