diff 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
line wrap: on
line diff
--- a/sat_frontends/jp/constants.py	Fri Jun 01 12:06:33 2018 +0200
+++ b/sat_frontends/jp/constants.py	Fri Jun 01 12:15:38 2018 +0200
@@ -34,7 +34,10 @@
     OUTPUT_COMPLEX = u'complex' # complex data (e.g. multi-level dictionary)
     OUTPUT_XML = u'xml' # XML node (as unicode string)
     OUTPUT_LIST_XML = u'list_xml' # list of XML nodes (as unicode strings)
-    OUTPUT_TYPES = (OUTPUT_TEXT, OUTPUT_DICT, OUTPUT_LIST, OUTPUT_LIST_DICT, OUTPUT_DICT_DICT, OUTPUT_COMPLEX, OUTPUT_XML, OUTPUT_LIST_XML)
+    OUTPUT_XMLUI = u'xmlui' # XMLUI as unicode string
+    OUTPUT_LIST_XMLUI = u'list_xmlui' # list of XMLUI (as unicode strings)
+    OUTPUT_TYPES = (OUTPUT_TEXT, OUTPUT_DICT, OUTPUT_LIST, OUTPUT_LIST_DICT, OUTPUT_DICT_DICT,
+                    OUTPUT_COMPLEX, OUTPUT_XML, OUTPUT_LIST_XML, OUTPUT_XMLUI, OUTPUT_LIST_XMLUI)
 
     # Pubsub options flags
     SERVICE = u'service'  # service required