freezer.scheduler.freezer_scheduler module¶
- class freezer.scheduler.freezer_scheduler.FreezerScheduler(apiclient, interval, job_path, concurrent_jobs=1)¶
Bases:
object
- create_job(job_doc)¶
- end_session(session_id, job_id, session_tag, result)¶
- get_jobs()¶
- is_scheduled(job_id)¶
- poll()¶
- reload()¶
- start()¶
- start_session(session_id, job_id, session_tag)¶
- stop()¶
- update_job(job_id, job_doc)¶
- update_job_schedule(job_id, job_schedule)¶
Pushes to the API the updates the job_schedule information of the job_doc
- Parameters
job_id – id of the job to modify
job_schedule – dict containing the job_scheduler information
- Returns
None
- update_job_status(job_id, status)¶
- upload_metadata(metadata_doc)¶
- freezer.scheduler.freezer_scheduler.main()¶