Skip to content

Commit 3b1f767

Browse files
committed
fix type knowledge_base_config
1 parent 1f72874 commit 3b1f767

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aws_lambda_powertools/event_handler/bedrock_agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ def __init__(
4545

4646
self.knowledge_bases_configuration = knowledge_bases_configuration
4747

48-
def to_dict(self, event) -> dict[str, Any]:
49-
result = {
48+
def to_dict(self, event: BedrockAgentEvent) -> dict[str, Any]:
49+
result: dict[str, Any] = {
5050
"messageVersion": "1.0",
5151
"response": {
5252
"apiPath": event.api_path,

0 commit comments

Comments
 (0)