def delete(self, *args, **kwargs):
        """Delete this application including all containers"""
        try:
            # attempt to remove containers from the scheduler
            self._destroy_containers([c for c in self.container_set.exclude(type='run')])
        except __HOLE__:
            pass
        self._clean_app_logs()
        return super(App, self).delete(*args, **kwargs)
dataset/ETHPy150Open deis/deis/controller/api/models.py/App.delete