Mercurial > libervia-backend
diff sat_frontends/jp/constants.py @ 2707:b156b78b8f9a
jp (output): new OUTPUT_MESS output to handle data containing chat messages
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 01 Dec 2018 10:48:01 +0100 |
parents | 56f94936df1e |
children | 003b8b4b56a7 |
line wrap: on
line diff
--- a/sat_frontends/jp/constants.py Sat Dec 01 10:47:59 2018 +0100 +++ b/sat_frontends/jp/constants.py Sat Dec 01 10:48:01 2018 +0100 @@ -31,6 +31,7 @@ OUTPUT_LIST = u"list" OUTPUT_LIST_DICT = u"list_dict" # list of dictionaries OUTPUT_DICT_DICT = u"dict_dict" # dict of nested dictionaries + OUTPUT_MESS = u"mess" # messages (chat) 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) @@ -42,6 +43,7 @@ OUTPUT_LIST, OUTPUT_LIST_DICT, OUTPUT_DICT_DICT, + OUTPUT_MESS, OUTPUT_COMPLEX, OUTPUT_XML, OUTPUT_LIST_XML,