Skip to content

Commit 3cff0c8

Browse files
committed
Add changelog and please pylint
1 parent 611578a commit 3cff0c8

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4747
([#3200](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3200))
4848
- `opentelemetry-opentelemetry-botocore` Add basic support for GenAI attributes for AWS Bedrock ConverseStream API
4949
([#3204](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3204))
50+
- `opentelemetry-opentelemetry-botocore` Add basic support for GenAI attributes for AWS Bedrock InvokeModelWithStreamResponse API
51+
([#3206](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3206))
5052

5153
### Fixed
5254

instrumentation/opentelemetry-instrumentation-botocore/src/opentelemetry/instrumentation/botocore/extensions/bedrock_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ def _process_amazon_nova_chunk(self, chunk):
172172
return
173173

174174
def _process_anthropic_claude_chunk(self, chunk):
175+
# pylint: disable=too-many-return-statements
175176
if not (message_type := chunk.get("type")):
176177
return
177178

instrumentation/opentelemetry-instrumentation-botocore/tests/test_botocore_bedrock.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ def test_invoke_model_with_response_stream_with_content(
339339
instrument_with_content,
340340
model_family,
341341
):
342+
# pylint:disable=too-many-locals
342343
llm_model_value = get_model_name_from_family(model_family)
343344
max_tokens, temperature, top_p, stop_sequences = 10, 0.8, 1, ["|"]
344345
body = get_invoke_model_body(

0 commit comments

Comments
 (0)