From 1cc2aaf5a484e8676a217779ee4b44c14bce5cab Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 1 Jun 2024 11:26:21 +0200 Subject: [PATCH] [assistant.picovoice] `_on_response_*` methods should have varargs. --- platypush/plugins/assistant/picovoice/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platypush/plugins/assistant/picovoice/__init__.py b/platypush/plugins/assistant/picovoice/__init__.py index 3661a2fa6..4a32a7978 100644 --- a/platypush/plugins/assistant/picovoice/__init__.py +++ b/platypush/plugins/assistant/picovoice/__init__.py @@ -530,12 +530,12 @@ class AssistantPicovoicePlugin(AssistantPlugin, RunnablePlugin): def _get_tts_plugin(self) -> TtsPicovoicePlugin: return self.tts - def _on_response_render_start(self, text: Optional[str]): + def _on_response_render_start(self, text: Optional[str], *_, **__): if self._assistant: self._assistant.set_responding(True) return super()._on_response_render_start(text) - def _on_response_render_end(self): + def _on_response_render_end(self, *_, **__): if self._assistant: self._assistant.set_responding(False)