mirror of
https://github.com/gsi-upm/senpy
synced 2025-08-23 18:12:20 +00:00
Enhance plugin metaclass
* Change names of plugins to avoid repetitions (we may have to revert this) * Make subprocess log private
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from senpy.plugins import SentimentPlugin
|
||||
|
||||
|
||||
class DummyPlugin(SentimentPlugin):
|
||||
class DummyNoInfo(SentimentPlugin):
|
||||
|
||||
description = 'This is a dummy self-contained plugin'
|
||||
author = '@balkian'
|
||||
@@ -23,5 +23,5 @@ class DummyPlugin(SentimentPlugin):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
d = DummyPlugin()
|
||||
d = DummyNoInfo()
|
||||
d.test()
|
||||
|
@@ -1,5 +1,5 @@
|
||||
from senpy.plugins import SentimentPlugin
|
||||
|
||||
|
||||
class DummyPlugin(SentimentPlugin):
|
||||
class NoOp(SentimentPlugin):
|
||||
import noop
|
||||
|
Reference in New Issue
Block a user