Set new Contract attributes when instantiating instead of modifying the class ones
We were instantiating a class from a dict to then convert it to dict again.
This line:
self.additionalBonds.append(add_bond.__dict__)
Was adding elements directly to the class attribute "additionalBonds" so at next instantiation the older asset bonds were accumulated.
Edited by Administrator