Restructured how clients are implemented.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2024-01-04 09:00:41 -05:00
parent 3ff6d38660
commit d714ebcd5d
5 changed files with 19 additions and 12 deletions

View File

@@ -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):