Skip to content

Commit fc6b034

Browse files
make mypy happy
1 parent a1f5b5e commit fc6b034

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎sentry_sdk/integrations/boto3/_services/bedrock.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
if TYPE_CHECKING:
26-
from typing import Any, Iterator, Optional, Union
26+
from typing import Any, Iterator, Mapping, Optional, Union
2727

2828
from mypy_boto3_bedrock_runtime.type_defs import (
2929
ConverseResponseTypeDef,
@@ -171,7 +171,7 @@ def _transform_system_instructions(
171171

172172

173173
def _transform_messages(
174-
input_messages: "Union[list[dict[str, Any]], tuple[dict[str, Any], ...]]",
174+
input_messages: "Union[list[Mapping[str, Any]], tuple[Mapping[str, Any], ...]]",
175175
) -> "list[InputMessage]":
176176
"""
177177
Unlike other providers, AWS declares that input and output messages use the same message type.

0 commit comments

Comments
 (0)