We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f91fa24 commit 215669fCopy full SHA for 215669f
json2xml/dicttoxml.py
@@ -263,6 +263,7 @@ def dict2xml_str(
263
"""
264
ids: list[str] = [] # initialize list of unique ids
265
", ".join(str(key) for key in item)
266
+ subtree = "" # Initialize subtree with default empty string
267
268
if attr_type:
269
attr["type"] = get_xml_type(item)
@@ -306,6 +307,7 @@ def list2xml_str(
306
307
308
309
flat = False
310
311
if item_name.endswith("@flat"):
312
item_name = item_name[0:-5]
313
flat = True
0 commit comments