jp (outputs): added OUTPUT_COMPLEX type for data which are more complex than key/value dictionaries
This commit is contained in:
parent
127744dd5b
commit
97cf0e6e01
1 changed files with 20 additions and 10 deletions
|
|
@ -26,9 +26,10 @@ class Const(constants.Const):
|
|||
PLUGIN_CMD = "commands"
|
||||
PLUGIN_OUTPUT = "outputs"
|
||||
OUTPUT_TEXT = 'text' # blob of unicode text
|
||||
OUTPUT_DICT = 'dict'
|
||||
OUTPUT_DICT = 'dict' # simple key/value dictionary
|
||||
OUTPUT_LIST = 'list'
|
||||
OUTPUT_TYPES = (OUTPUT_TEXT, OUTPUT_DICT, OUTPUT_LIST)
|
||||
OUTPUT_COMPLEX = 'complex' # complex data (e.g. multi-level dictionary)
|
||||
OUTPUT_TYPES = (OUTPUT_TEXT, OUTPUT_DICT, OUTPUT_LIST, OUTPUT_COMPLEX)
|
||||
|
||||
# exit codes
|
||||
EXIT_OK = 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue