From 6b78b2b3ac38d3fe22b2da0eb3ee50b154d4d531 Mon Sep 17 00:00:00 2001 From: Radovan Zivkovic Date: Tue, 18 Jun 2024 18:31:18 +0200 Subject: [PATCH] Set type for gRPC context to grpc.aio.ServicerContext --- rasa_sdk/grpc_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rasa_sdk/grpc_server.py b/rasa_sdk/grpc_server.py index 187aa6090..3b7f8d3ec 100644 --- a/rasa_sdk/grpc_server.py +++ b/rasa_sdk/grpc_server.py @@ -113,7 +113,7 @@ async def Actions(self, request: ActionsRequest, context) -> ActionsResponse: async def Webhook( self, request: WebhookRequest, - context, + context: grpc.aio.ServicerContext, ) -> action_webhook_pb2.WebhookResponse: """Handle RPC request for the webhook.