mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 15:15:38 -05:00
Restructured how clients are implemented.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from abc import abstractmethod
|
||||
from typing import Protocol
|
||||
|
||||
from botocore.config import Config
|
||||
@@ -29,7 +30,9 @@ class Client(Protocol):
|
||||
Base client for sending notifications.
|
||||
"""
|
||||
|
||||
pass
|
||||
@abstractmethod
|
||||
def init_app(self, current_app, *args, **kwargs):
|
||||
raise NotImplementedError("TODO: Need to implement.")
|
||||
|
||||
|
||||
class NotificationProviderClients(object):
|
||||
|
||||
Reference in New Issue
Block a user