def convertDict2Attrs(self, *args, **kwargs):
        """The trick for iterable Mambu Objects comes here:

        You iterate over each element of the responded List from Mambu,
        and create a Mambu User (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.

.. todo:: pass a valid (perhaps default) urlfunc, and its
          corresponding id to entid to each itemclass, telling MambuStruct
          not to connect() by default. It's desirable to connect at any
          other further moment to refresh some element in the list.
        """
        for n,u in enumerate(self.attrs):
            try:
                params = self.params
            except AttributeError as aerr:
                params = {}
            kwargs.update(params)
            try:
                user = self.mambuuserclass(urlfunc=None, entid=None, *args, **kwargs)
            except AttributeError as ae:
                self.mambuuserclass = self.itemclass
                user = self.mambuuserclass(urlfunc=None, entid=None, *args, **kwargs)
            user.init(u, *args, **kwargs)
            self.attrs[n] = user
def convertDict2Attrs ( self , * args , ** kwargs ) : for n , u in enumerate ( self . attrs ) : try : params = self . params except AttributeError as aerr : params = { } kwargs . update ( params ) try : user = self . mambuuserclass ( urlfunc = None , entid = None , * args , ** kwargs ) except AttributeError as ae : self . mambuuserclass = self . itemclass user = self . mambuuserclass ( urlfunc = None , entid = None , * args , ** kwargs ) user . init ( u , * args , ** kwargs ) self . attrs [ n ] = user
The trick for iterable Mambu Objects comes here:

        You iterate over each element of the responded List from Mambu,
        and create a Mambu User (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.

.. todo:: pass a valid (perhaps default) urlfunc, and its
          corresponding id to entid to each itemclass, telling MambuStruct
          not to connect() by default. It's desirable to connect at any
          other further moment to refresh some element in the list.