8000 Included correct annotation for on_turn_error property · zigri2612/botbuilder-python@c427d8f · GitHub
[go: up one dir, main page]

Skip to content

Commit c427d8f

Browse files
committed
Included correct annotation for on_turn_error property
1 parent d3b2634 commit c427d8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/botbuilder-core/botbuilder/core/bot_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
class BotAdapter(ABC):
14-
def __init__(self, on_turn_error: Callable = None):
14+
def __init__(self, on_turn_error: Callable[[TurnContext, Exception], Awaitable] = None):
1515
self._middleware = MiddlewareSet()
1616
self.on_turn_error = on_turn_error
1717

0 commit comments

Comments
 (0)
0