Skip to content

Commit 9d3059b

Browse files
committed
Adding ignore after boto3 use in aws_bedrock_claude_chat_target.py
1 parent 8bfed3d commit 9d3059b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyrit/prompt_target/aws_bedrock_claude_chat_target.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,9 @@ def _validate_request(self, *, prompt_request: PromptRequestResponse) -> None:
100100
raise ValueError("This target only supports text and image_path.")
101101

102102
async def _complete_chat_async(self, messages: list[ChatMessageListDictContent]) -> str:
103-
brt = boto3.client(
103+
brt = boto3.client( # type: ignore
104104
service_name="bedrock-runtime", region_name="us-east-1", verify=self._enable_ssl_verification
105105
)
106-
107106
native_request = self._construct_request_body(messages)
108107

109108
request = json.dumps(native_request)

0 commit comments

Comments
 (0)