@@ -41,7 +41,7 @@ def listener_runner(self) -> "AsyncioListenerRunner": # type: ignore[name-defin
4141 return self ["listener_runner" ]
4242
4343 @property
44- def client (self ) -> Optional [ AsyncWebClient ] :
44+ def client (self ) -> AsyncWebClient :
4545 """The `AsyncWebClient` instance available for this request.
4646
4747 @app.event("app_mention")
@@ -129,8 +129,8 @@ async def handle_button_clicks(ack, respond):
129129 if "respond" not in self :
130130 self ["respond" ] = AsyncRespond (
131131 response_url = self .response_url ,
132- proxy = self .client .proxy , # type: ignore[union-attr]
133- ssl = self .client .ssl , # type: ignore[union-attr]
132+ proxy = self .client .proxy ,
133+ ssl = self .client .ssl ,
134134 )
135135 return self ["respond" ]
136136
@@ -156,7 +156,7 @@ async def handle_button_clicks(context):
156156 """
157157 if "complete" not in self :
158158 self ["complete" ] = AsyncComplete (
159- client = self .client , function_execution_id = self .function_execution_id # type: ignore[arg-type]
159+ client = self .client , function_execution_id = self .function_execution_id
160160 )
161161 return self ["complete" ]
162162
@@ -182,6 +182,6 @@ async def handle_button_clicks(context):
182182 """
183183 if "fail" not in self :
184184 self ["fail" ] = AsyncFail (
185- client = self .client , function_execution_id = self .function_execution_id # type: ignore[arg-type]
185+ client = self .client , function_execution_id = self .function_execution_id
186186 )
187187 return self ["fail" ]
0 commit comments