asgard.backends.chronos package

Submodules

asgard.backends.chronos.impl module

class asgard.backends.chronos.impl.ChronosScheduledJobsBackend[código fonte]

Base: asgard.backends.jobs.ScheduledJobsBackend

create_job(job: asgard.models.job.ScheduledJob, user: asgard.models.user.User, account: asgard.models.account.Account) → asgard.models.job.ScheduledJob[código fonte]
delete_job(job: asgard.models.job.ScheduledJob, user: asgard.models.user.User, account: asgard.models.account.Account) → asgard.models.job.ScheduledJob[código fonte]
get_job_by_id(job_id: str, user: asgard.models.user.User, account: asgard.models.account.Account) → Optional[asgard.models.job.ScheduledJob][código fonte]
list_jobs(user: asgard.models.user.User, account: asgard.models.account.Account) → List[asgard.models.job.ScheduledJob][código fonte]
update_job(job: asgard.models.job.ScheduledJob, user: asgard.models.user.User, account: asgard.models.account.Account) → asgard.models.job.ScheduledJob[código fonte]

Atualiza um Job no Chronos. Se o job não existir, lança exception NotFoundEntity

Module contents