mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
Move job processing into celery
- brings boto S3 into new AWS folder - CSV processing utils method Rejigs the jobs rest endpoint - removes some now unused endpoints, Calls to the task with the job, job processing in task, delegating SMS calls to the sms task
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import os
|
||||
|
||||
|
||||
def load_example_csv(file):
|
||||
file_path = os.path.join("test_csv_files", "{}.csv".format(file))
|
||||
with open(file_path) as f:
|
||||
return f.read()
|
||||
|
||||
Reference in New Issue
Block a user