Source code for topchef.models.job_list
from topchef.models.abstract_classes import JobListFromQuery
from topchef.database.models import Job as DatabaseJob
[docs]class JobList(JobListFromQuery):
"""
Implements the interface to get all the jobs in the job list
"""
@property
def root_job_query(self):
return self.session.query(DatabaseJob)