Mercurial > libervia-backend
diff frontends/src/jp/constants.py @ 2156:8f96c242fa89
jp (outputs): added OUTPUT_COMPLEX type for data which are more complex than key/value dictionaries
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 16 Feb 2017 00:51:33 +0100 |
parents | 877d0a2d0d86 |
children | 75667727c500 |
line wrap: on
line diff
--- a/frontends/src/jp/constants.py Thu Feb 16 00:49:46 2017 +0100 +++ b/frontends/src/jp/constants.py Thu Feb 16 00:51:33 2017 +0100 @@ -26,9 +26,10 @@ 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