We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f72874 commit 3b1f767Copy full SHA for 3b1f767
aws_lambda_powertools/event_handler/bedrock_agent.py
@@ -45,8 +45,8 @@ def __init__(
45
46
self.knowledge_bases_configuration = knowledge_bases_configuration
47
48
- def to_dict(self, event) -> dict[str, Any]:
49
- result = {
+ def to_dict(self, event: BedrockAgentEvent) -> dict[str, Any]:
+ result: dict[str, Any] = {
50
"messageVersion": "1.0",
51
"response": {
52
"apiPath": event.api_path,
0 commit comments