Mercurial > libervia-backend
comparison frontends/src/jp/constants.py @ 2295:31f586d6ab16
jp (constants): added OUTPUT_DICT_DICT for dictionaries of nested dictionaries
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 02 Jul 2017 19:51:00 +0200 |
parents | 489efbda377c |
children | c7a72b75232b |
comparison
equal
deleted
inserted
replaced
2294:78048f002a3c | 2295:31f586d6ab16 |
---|---|
28 PLUGIN_OUTPUT = u"outputs" | 28 PLUGIN_OUTPUT = u"outputs" |
29 OUTPUT_TEXT = u'text' # blob of unicode text | 29 OUTPUT_TEXT = u'text' # blob of unicode text |
30 OUTPUT_DICT = u'dict' # simple key/value dictionary | 30 OUTPUT_DICT = u'dict' # simple key/value dictionary |
31 OUTPUT_LIST = u'list' | 31 OUTPUT_LIST = u'list' |
32 OUTPUT_LIST_DICT = u'list_dict' # list of dictionaries | 32 OUTPUT_LIST_DICT = u'list_dict' # list of dictionaries |
33 OUTPUT_DICT_DICT = u'dict_dict' # dict of nested dictionaries | |
33 OUTPUT_COMPLEX = u'complex' # complex data (e.g. multi-level dictionary) | 34 OUTPUT_COMPLEX = u'complex' # complex data (e.g. multi-level dictionary) |
34 OUTPUT_XML = u'xml' # XML node (as unicode string) | 35 OUTPUT_XML = u'xml' # XML node (as unicode string) |
35 OUTPUT_LIST_XML = u'list_xml' # list of XML nodes (as unicode strings) | 36 OUTPUT_LIST_XML = u'list_xml' # list of XML nodes (as unicode strings) |
36 OUTPUT_TYPES = (OUTPUT_TEXT, OUTPUT_DICT, OUTPUT_LIST, OUTPUT_LIST_DICT, OUTPUT_COMPLEX, OUTPUT_XML, OUTPUT_LIST_XML) | 37 OUTPUT_TYPES = (OUTPUT_TEXT, OUTPUT_DICT, OUTPUT_LIST, OUTPUT_LIST_DICT, OUTPUT_DICT_DICT, OUTPUT_COMPLEX, OUTPUT_XML, OUTPUT_LIST_XML) |
37 | 38 |
38 # ANSI | 39 # ANSI |
39 A_HEADER = A.BOLD + A.FG_YELLOW | 40 A_HEADER = A.BOLD + A.FG_YELLOW |
40 A_SUBHEADER = A.BOLD + A.FG_RED | 41 A_SUBHEADER = A.BOLD + A.FG_RED |
41 A_SUCCESS = A.BOLD + A.FG_GREEN | 42 A_SUCCESS = A.BOLD + A.FG_GREEN |