Exemplo n.º 1
0
async def update_job_by_id(
    request: web.Request, job: ScheduledJob, user: User, account: Account
):
    job.id = request.match_info["job_id"]

    return await _update_job(job, user, account)
Exemplo n.º 2
0
async def update_job_by_id(job_id: str, job: ScheduledJob, user: User,
                           account: Account):
    job.id = job_id
    return await _update_job(job, user, account)