mirror of
https://github.com/gsi-upm/senpy
synced 2025-08-23 18:12:20 +00:00
Closes #40
This commit is contained in:
@@ -21,3 +21,6 @@ class AsyncPlugin(AnalysisPlugin):
|
||||
values = self._do_async(2)
|
||||
entry.async_values = values
|
||||
yield entry
|
||||
|
||||
def test(self):
|
||||
pass
|
||||
|
@@ -6,3 +6,6 @@ class DummyPlugin(SentimentPlugin):
|
||||
entry.text = entry.text[::-1]
|
||||
entry.reversed = entry.get('reversed', 0) + 1
|
||||
yield entry
|
||||
|
||||
def test(self):
|
||||
pass
|
||||
|
@@ -9,3 +9,6 @@ class SleepPlugin(AnalysisPlugin):
|
||||
def analyse_entry(self, entry, params):
|
||||
sleep(float(params.get("timeout", self.timeout)))
|
||||
yield entry
|
||||
|
||||
def test(self):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user