comparison sat_frontends/jp/constants.py @ 2601:12bf089f0bf3

jp (output): new OUPUT_XMLUI and OUTPUT_LIST_XMLUI outputs
author Goffi <goffi@goffi.org>
date Fri, 01 Jun 2018 12:15:38 +0200
parents 26edcf3a30eb
children 56f94936df1e
comparison
equal deleted inserted replaced
2600:947c4c4c5c53 2601:12bf089f0bf3
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_DICT_DICT = u'dict_dict' # dict of nested dictionaries
34 OUTPUT_COMPLEX = u'complex' # complex data (e.g. multi-level dictionary) 34 OUTPUT_COMPLEX = u'complex' # complex data (e.g. multi-level dictionary)
35 OUTPUT_XML = u'xml' # XML node (as unicode string) 35 OUTPUT_XML = u'xml' # XML node (as unicode string)
36 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)
37 OUTPUT_TYPES = (OUTPUT_TEXT, OUTPUT_DICT, OUTPUT_LIST, OUTPUT_LIST_DICT, OUTPUT_DICT_DICT, OUTPUT_COMPLEX, OUTPUT_XML, OUTPUT_LIST_XML) 37 OUTPUT_XMLUI = u'xmlui' # XMLUI as unicode string
38 OUTPUT_LIST_XMLUI = u'list_xmlui' # list of XMLUI (as unicode strings)
39 OUTPUT_TYPES = (OUTPUT_TEXT, OUTPUT_DICT, OUTPUT_LIST, OUTPUT_LIST_DICT, OUTPUT_DICT_DICT,
40 OUTPUT_COMPLEX, OUTPUT_XML, OUTPUT_LIST_XML, OUTPUT_XMLUI, OUTPUT_LIST_XMLUI)
38 41
39 # Pubsub options flags 42 # Pubsub options flags
40 SERVICE = u'service' # service required 43 SERVICE = u'service' # service required
41 NODE = u'node' # node required 44 NODE = u'node' # node required
42 ITEM = u'item' # item required 45 ITEM = u'item' # item required