Avoid deep copy when adding attribute lxml.objectify

98 Views Asked by At

lxml.objectify's documentation states that any subtrees that are added as an attribute will be deep copied. Is there a way to avoid this? I am trying to mimic SQL-style relationships using XML, and I want any changes in a subtree object to change all of the attributes where that object is being set.

0

There are 0 best solutions below