Skip to content

Commit d669ee4

Browse files
committed
chore: apply lint
1 parent 4ce9295 commit d669ee4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,11 @@ def _handle_bedrock_request(self) -> None:
246246
set_main_status(200)
247247
bedrock_client.meta.events.register(
248248
"before-call.bedrock.GetGuardrail",
249-
lambda **kwargs: inject_200_success(guardrailId="bt4o77i015cu", guardrailArn="arn:aws:bedrock:us-east-1:000000000000:guardrail/bt4o77i015cu", **kwargs),
249+
lambda **kwargs: inject_200_success(
250+
guardrailId="bt4o77i015cu",
251+
guardrailArn="arn:aws:bedrock:us-east-1:000000000000:guardrail/bt4o77i015cu",
252+
**kwargs,
253+
),
250254
)
251255
bedrock_client.get_guardrail(
252256
guardrailIdentifier="arn:aws:bedrock:us-east-1:000000000000:guardrail/bt4o77i015cu"

contract-tests/tests/test/amazon/botocore/botocore_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def test_bedrock_get_guardrail(self):
410410
remote_resource_identifier="bt4o77i015cu",
411411
request_specific_attributes={
412412
_AWS_BEDROCK_GUARDRAIL_ID: "bt4o77i015cu",
413-
_AWS_BEDROCK_GUARDRAIL_ARN: "arn:aws:bedrock:us-east-1:000000000000:guardrail/bt4o77i015cu"
413+
_AWS_BEDROCK_GUARDRAIL_ARN: "arn:aws:bedrock:us-east-1:000000000000:guardrail/bt4o77i015cu",
414414
},
415415
span_name="Bedrock.GetGuardrail",
416416
)

0 commit comments

Comments
 (0)