jp (constants): added OUTPUT_DICT_DICT for dictionaries of nested dictionaries
This commit is contained in:
parent
8b21f69945
commit
178a8311ca
1 changed files with 2 additions and 1 deletions
|
|
@ -30,10 +30,11 @@ class Const(constants.Const):
|
|||
OUTPUT_DICT = u'dict' # simple key/value dictionary
|
||||
OUTPUT_LIST = u'list'
|
||||
OUTPUT_LIST_DICT = u'list_dict' # list of dictionaries
|
||||
OUTPUT_DICT_DICT = u'dict_dict' # dict of nested dictionaries
|
||||
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_COMPLEX, OUTPUT_XML, OUTPUT_LIST_XML)
|
||||
OUTPUT_TYPES = (OUTPUT_TEXT, OUTPUT_DICT, OUTPUT_LIST, OUTPUT_LIST_DICT, OUTPUT_DICT_DICT, OUTPUT_COMPLEX, OUTPUT_XML, OUTPUT_LIST_XML)
|
||||
|
||||
# ANSI
|
||||
A_HEADER = A.BOLD + A.FG_YELLOW
|
||||
|
|
|
|||
Loading…
Reference in a new issue