Add count of rows in csv file as a notification count.

This commit is contained in:
Adam Shimali
2016-02-22 14:52:16 +00:00
parent e03b970039
commit 6c56f9be31
6 changed files with 31 additions and 18 deletions

View File

@@ -95,6 +95,7 @@ def job_json():
'original_file_name': 'thisisatest.csv',
'bucket_name': 'service-1-{}-notify'.format(job_id),
'file_name': '{}.csv'.format(job_id),
'created_at': created_at
'created_at': created_at,
'notification_count': 1
}
return data