Skip to content

Commit 5e8262b

Browse files
committed
Add return type
1 parent 8bd651c commit 5e8262b

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):
20+
def __getattr__(name: str) -> Any:
1921
from . import events
2022

2123
return getattr(events, name)

0 commit comments

Comments
 (0)