From 929ac09cae649c2f88a96374c27315cbe10eac55 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 9 May 2024 11:00:36 +0200 Subject: [PATCH] [#398] Removed unused `stt` response module. --- docs/source/platypush/responses/stt.rst | 5 ----- docs/source/responses.rst | 1 - platypush/message/response/stt.py | 11 ----------- 3 files changed, 17 deletions(-) delete mode 100644 docs/source/platypush/responses/stt.rst delete mode 100644 platypush/message/response/stt.py diff --git a/docs/source/platypush/responses/stt.rst b/docs/source/platypush/responses/stt.rst deleted file mode 100644 index 06d80b872f..0000000000 --- a/docs/source/platypush/responses/stt.rst +++ /dev/null @@ -1,5 +0,0 @@ -``stt`` -================================== - -.. automodule:: platypush.message.response.stt - :members: diff --git a/docs/source/responses.rst b/docs/source/responses.rst index 0f96e27b4e..17b210adda 100644 --- a/docs/source/responses.rst +++ b/docs/source/responses.rst @@ -11,6 +11,5 @@ Responses platypush/responses/printer.cups.rst platypush/responses/qrcode.rst platypush/responses/ssh.rst - platypush/responses/stt.rst platypush/responses/tensorflow.rst platypush/responses/translate.rst diff --git a/platypush/message/response/stt.py b/platypush/message/response/stt.py deleted file mode 100644 index 7ba3792087..0000000000 --- a/platypush/message/response/stt.py +++ /dev/null @@ -1,11 +0,0 @@ -from platypush.message.response import Response - - -class SpeechDetectedResponse(Response): - def __init__(self, *args, speech: str, **kwargs): - super().__init__(*args, output={ - 'speech': speech - }, **kwargs) - - -# vim:sw=4:ts=4:et: