mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-13 04:02:29 +00:00
bfc588a915
* 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
17 lines
344 B
Plaintext
17 lines
344 B
Plaintext
{
|
|
"name": "Sleep",
|
|
"module": "sleep",
|
|
"description": "I am dummy",
|
|
"author": "@balkian",
|
|
"version": "0.1",
|
|
"timeout": 0.05,
|
|
"extra_params": {
|
|
"timeout": {
|
|
"@id": "timeout_sleep",
|
|
"aliases": ["timeout", "to"],
|
|
"required": false,
|
|
"default": 0
|
|
}
|
|
}
|
|
}
|