Skip to content

Commit 6cdc814

Browse files
committed
Update return type
1 parent ca5db2f commit 6cdc814

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/strands/experimental/hooks/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""Experimental hook functionality that has not yet reached stability."""
22

3+
from typing import Any
4+
35
from .events import (
46
BidiAfterConnectionRestartEvent,
57
BidiAfterInvocationEvent,
@@ -15,7 +17,7 @@
1517
# Deprecated aliases are accessed via __getattr__ to emit warnings only on use
1618

1719

18-
def __getattr__(name: str) -> bool:
20+
def __getattr__(name: str) -> Any:
1921
from . import events
2022

2123
return getattr(events, name)

0 commit comments

Comments
 (0)