def list_jobs(self, user=None, order_by='id'):
        filters = dict()
        filters['label'] = self.label
        if user:
            filters['user'] = user
        jobs = TethysJob.objects.filter(**filters).order_by(order_by)
        jobs = [job.child for job in jobs]
        return jobs
Lists all the jobs from current app for current user.
dataset/ETHPy150Open tethysplatform/tethys/tethys_compute/job_manager.py/JobManager.list_jobs