def convertDict2Attrs(self, *args, **kwargs):
for n,a 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>activity = self.mambuactivityclass(urlfunc=None, entid=None, *args, **kwargs)<EOL><DEDENT>except AttributeError as ae:<EOL><INDENT>self.mambuactivityclass = MambuActivity<EOL>activity = self.mambuactivityclass(urlfunc=None, entid=None, *args, **kwargs)<EOL><DEDENT>activity.init(a, *args, **kwargs)<EOL>self.attrs[n] = activity<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 Activity 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 MambuActivity just
        created.