qai_hub.get_jobs
- get_jobs(offset=0, limit=50, creator=None)
Returns a list of jobs visible to you.
- Parameters:
offset (int) – Offset the query to get even older jobs.
limit (int) – Maximum numbers of jobs to return.
creator (Optional[str]) – Fetch only jobs created by the specified creator. If unspecified, fetch all jobs owned by your organization.
- Returns:
job_list – List of jobs.
- Return type:
List[Job]
Examples
Fetch
ProfileJobResult
objects for your five most recent jobs:import qai_hub as hub jobs = hub.get_jobs(limit=5) results = [job.download_results("results") for job in jobs]