def addResourceCleanUp(self, function, *args, **kwargs):
        tb = traceback.extract_stack(limit=2)[0]
        self._sequence = self._sequence + 1
        self._resource_trash_bin[self._sequence] = (function, args, kwargs, tb)

        LOG.debug("For cleaning up: %s\n    From: %s" %
                  (self.friendly_function_call_str(function, *args, **kwargs),
                   str((tb[0], tb[1], tb[2]))))

        return self._sequence
Constructor for linear regression model with dynamic coefficients.
dataset/ETHPy150Open openstack/ec2-api/ec2api/tests/functional/base.py/EC2TestCase.addResourceCleanUp--crossover with--dataset/ETHPy150Open brandonckelly/bck_stats/bck_stats/dynamic_linear_model.py/DynamicLinearModel.__init__