Skip to content

Commit 327f379

Browse files
committed
Fix type error
1 parent 6a2c9d2 commit 327f379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/strands/tools/registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def process_tools(self, tools: List[Any]) -> List[str]:
5454
"""
5555
tool_names = []
5656

57-
def add_tool(tool: Any):
57+
def add_tool(tool: Any) -> None:
5858
# Case 1: String file path
5959
if isinstance(tool, str):
6060
# Extract tool name from path

0 commit comments

Comments
 (0)