def append(self, elem, trigger_iter=None):
        """ Append elem to dynamic list
            Optinally specify what dynops iterable should trigger this instance
            this is useful when having (key, iter) tuples for Collect
        """
        _log.debug("%s.append(%s)" % (self.__str__(), elem))
        if not self._final:
            self.list.append(elem)
            # Potentially an interable
            self.trigger_add([trigger_iter if trigger_iter else elem])
            self.trig()
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/utilities/dynops.py/List.append/original