From 7ed847b6465f65d64c0b730ff8a89246176a0e94 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 6 Mar 2020 00:53:24 +0100 Subject: [PATCH] Removed __future__ annotations (it breaks readthedocs build) --- platypush/plugins/stt/deepspeech.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/platypush/plugins/stt/deepspeech.py b/platypush/plugins/stt/deepspeech.py index 84fd8b6d3..3aaa7497a 100644 --- a/platypush/plugins/stt/deepspeech.py +++ b/platypush/plugins/stt/deepspeech.py @@ -1,5 +1,3 @@ -from __future__ import annotations - import queue import os import threading @@ -265,7 +263,7 @@ class SttDeepspeechPlugin(Plugin): speech = self._detect(buffer) return SpeechDetectedResponse(speech=speech) - def __enter__(self) -> SttDeepspeechPlugin: + def __enter__(self): """ Context manager enter. Starts detection and returns self. """