Added notification count to jobs.

This commit is contained in:
Adam Shimali
2016-02-22 14:56:09 +00:00
parent 945df9dca7
commit c36b64c91b
5 changed files with 34 additions and 3 deletions

View File

@@ -159,7 +159,8 @@ def sample_job(notify_db,
'template_id': template.id,
'bucket_name': bucket_name,
'file_name': file_name,
'original_file_name': 'some.csv'
'original_file_name': 'some.csv',
'notification_count': 1
}
job = Job(**data)
save_job(job)