1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-12-04 21:32:31 +00:00
senpy/tests/dummy_plugin/dummy.py
J. Fernando Sánchez d1006bbc92 PEP8+Better JSON-LD support
* The API has also changed, there are new parameters to send the
context as part of the headers.
* Improved tests
* PEP8 compliance (despite the line about gevent)
2015-02-24 07:15:25 +01:00

9 lines
181 B
Python

from senpy.plugins import SentimentPlugin
from senpy.models import Response
class DummyPlugin(SentimentPlugin):
def analyse(self, *args, **kwargs):
return Response()