Removed __future__ annotations (it breaks readthedocs build)

This commit is contained in:
Fabio Manganiello 2020-03-06 00:53:24 +01:00
parent 1533f7ee69
commit 7ed847b646

View file

@ -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.
"""