mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Make indentation consistent
This commit is contained in:
@@ -39,7 +39,10 @@ def dao_get_job_by_id(job_id):
|
|||||||
|
|
||||||
def dao_get_scheduled_jobs():
|
def dao_get_scheduled_jobs():
|
||||||
return Job.query \
|
return Job.query \
|
||||||
.filter(Job.job_status == JOB_STATUS_SCHEDULED, Job.scheduled_for < datetime.utcnow()) \
|
.filter(
|
||||||
|
Job.job_status == JOB_STATUS_SCHEDULED,
|
||||||
|
Job.scheduled_for < datetime.utcnow()
|
||||||
|
) \
|
||||||
.order_by(asc(Job.scheduled_for)) \
|
.order_by(asc(Job.scheduled_for)) \
|
||||||
.all()
|
.all()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user