Skip to content

Commit c96e03b

Browse files
committed
formatting
1 parent b370cb0 commit c96e03b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,6 @@ def extract_attributes(self, attributes: _AttributeMapT):
220220
knowledge_base_id = self._call_context.params.get(_KNOWLEDGE_BASE_ID)
221221
if knowledge_base_id:
222222
attributes[AWS_BEDROCK_KNOWLEDGE_BASE_ID] = knowledge_base_id
223-
224-
def on_success(self, span: Span, result: _BotoResultT, instrumentor_context=None):
225-
# Currently no attributes to extract from the result
226-
pass
227223

228224
def on_success(self, span: Span, result: _BotoResultT, instrumentor_context=None):
229225
# Currently no attributes to extract from the result

0 commit comments

Comments
 (0)