I saw this too... This does not happen for the situation where there is a add_xxx_with_type method, so I expect that this is related to this recent change.
Verstuurd vanaf mijn iPhone Op 15 nov. 2018 om 06:06 heeft "sourcefo...@homerow.net<mailto:sourcefo...@homerow.net>" <sourcefo...@homerow.net<mailto:sourcefo...@homerow.net>> het volgende geschreven: I’m seeing duplicate add methods getting created in each of the classes, ex: def get_link(self): return self.link<http://self.link> def set_link(self, link): self.link<http://self.link> = link def add_link(self, value): self.link.append(value) def add_link(self, value): self.link.append(value) def insert_link_at(self, index, value): self.link.insert(index, value) def replace_link_at(self, index, value): self.link<http://self.link>[index] = value The fix could go one of two ways and here’s the one I “think” is correct, but I’m really not sure: diff -r 35e06ffa7707 generateDS.py --- a/generateDS.py Wed Nov 14 15:38:37 2018 +0300 +++ b/generateDS.py Wed Nov 14 22:54:20 2018 -0600 @@ -4729,9 +4729,6 @@ ' self.%s = %s\n' % ( capName, name, name, name)) if child.getMaxOccurs() > 1: - wrt(' def add%s(self, value):\n' - ' self.%s.append(value)\n' % ( - capName, name)) childType = child.getType() type_obj = ElementDict.get(childType) if (type_obj is not None and <dup_add.patch> _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net<mailto:generateds-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/generateds-users This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.
_______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users