mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-04 05:30:53 -04:00
New package structure for the version 2 of the public api.
Start building up the validators required for post notificaiton. The app/v2/errors.py is a rough sketch, will be passed a code, the error can look up the message and link for the error message.
This commit is contained in:
14
app/notifications/process_notifications.py
Normal file
14
app/notifications/process_notifications.py
Normal file
@@ -0,0 +1,14 @@
|
||||
def persist_notification():
|
||||
'''
|
||||
persist the notification
|
||||
:return:
|
||||
'''
|
||||
pass
|
||||
|
||||
|
||||
def send_notificaiton_to_queue():
|
||||
'''
|
||||
send the notification to the queue
|
||||
:return:
|
||||
'''
|
||||
pass
|
||||
Reference in New Issue
Block a user