This website requires JavaScript.
Explore
Help
Sign In
balkian
/
senpy
Watch
1
Star
0
Fork
0
You've already forked senpy
mirror of
https://github.com/gsi-upm/senpy
synced
2024-11-14 04:32:29 +00:00
Code
Issues
Releases
Wiki
Activity
abd401f863
senpy
/
example-plugins
/
noop
/
noop_plugin.py
6 lines
89 B
Python
Raw
Normal View
History
Unescape
Escape
Several fixes * Refactored BaseModel for efficiency * Added plugin metaclass to keep track of plugin types * Moved plugins to examples dir (in a previous commit) * Simplified validation in parse_params * Added convenience methods to mock requests in tests * Changed help schema to use `.valid_parameters` instead of `.parameters`, which was used in results to show parameters provided by the user. * Improved UI * Added basic parameters * Fixed bugs in parameter handling * Refactored and cleaned code
2018-01-01 12:13:17 +00:00
from
senpy
.
plugins
import
SentimentPlugin
Enhance plugin metaclass * Change names of plugins to avoid repetitions (we may have to revert this) * Make subprocess log private
2018-01-02 10:56:55 +00:00
class
NoOp
(
SentimentPlugin
)
:
Several fixes * Refactored BaseModel for efficiency * Added plugin metaclass to keep track of plugin types * Moved plugins to examples dir (in a previous commit) * Simplified validation in parse_params * Added convenience methods to mock requests in tests * Changed help schema to use `.valid_parameters` instead of `.parameters`, which was used in results to show parameters provided by the user. * Improved UI * Added basic parameters * Fixed bugs in parameter handling * Refactored and cleaned code
2018-01-01 12:13:17 +00:00
import
noop
Reference in New Issue
Copy Permalink