def convertDict2Attrs(self, *args, **kwargs):
for n,u in enumerate(self.attrs):<EOL><INDENT>try:<EOL><INDENT>params = self.params<EOL><DEDENT>except AttributeError as aerr:<EOL><INDENT>params = {}<EOL><DEDENT>kwargs.update(params)<EOL>try:<EOL><INDENT>role = self.mamburoleclass(urlfunc=None, entid=None, *args, **kwargs)<EOL><DEDENT>except AttributeError as ae:<EOL><INDENT>self.mamburoleclass = MambuRole<EOL>role = self.mamburoleclass(urlfunc=None, entid=None, *args, **kwargs)<EOL><DEDENT>role.init(u, *args, **kwargs)<EOL>self.attrs[n] = role<EOL><DEDENT>
The trick for iterable Mambu Objects comes here:

        You iterate over each element of the responded List from Mambu,
        and create a Mambu Role (or your own itemclass) object for each
        one, initializing them one at a time, and changing the attrs
        attribute (which just holds a list of plain dictionaries) with a
        MambuUser (or your own itemclass) just created.