File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
libraries/botbuilder-core/botbuilder/core Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 12
12
HealthCheckResponse ,
13
13
)
14
14
15
+ from .bot import Bot
15
16
from .bot_adapter import BotAdapter
16
17
from .healthcheck import HealthCheck
17
18
from .serializer_helper import serializer_helper
20
21
from .turn_context import TurnContext
21
22
22
23
23
- class ActivityHandler :
24
+ class ActivityHandler ( Bot ) :
24
25
"""
25
26
Handles activities and should be subclassed.
26
27
@@ -30,7 +31,9 @@ class ActivityHandler:
30
31
in the derived class.
31
32
"""
32
33
33
- async def on_turn (self , turn_context : TurnContext ):
34
+ async def on_turn (
35
+ self , turn_context : TurnContext
36
+ ): # pylint: disable=arguments-differ
34
37
"""
35
38
Called by the adapter (for example, :class:`BotFrameworkAdapter`) at runtime
36
39
in order to process an inbound :class:`botbuilder.schema.Activity`.
You can’t perform that action at this time.
0 commit comments