Skip to content

Commit 7dbabb5

Browse files
author
ADOT Patch workflow
committed
lint fix
1 parent 82bd892 commit 7dbabb5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/semconv/_incubating/attributes/gen_ai_attributes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
13
"""
24
Utility module holding attribute keys for incubating Gen AI semantic conventions.
5+
36
Remove this once we've contributed them to upstream.
47
"""
58

contract-tests/images/applications/botocore/botocore_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def _handle_bedrock_agentcore_request(self) -> None:
132132
payload=b'{"message": "Hello, test message"}',
133133
)
134134
return
135-
elif operation == "createendpoint":
135+
if operation == "createendpoint":
136136
set_main_status(200)
137137
bedrock_agentcore_control_client.meta.events.register(
138138
"before-call.bedrock-agentcore-control.CreateAgentRuntimeEndpoint",
@@ -158,7 +158,7 @@ def _handle_bedrock_agentcore_request(self) -> None:
158158
description="Endpoint for invoking agent runtime",
159159
)
160160
return
161-
elif operation == "startbrowsersession":
161+
if operation == "startbrowsersession":
162162
browser_id = path_parts[4]
163163
set_main_status(200)
164164
bedrock_agentcore_client.meta.events.register(

0 commit comments

Comments
 (0)