Add DynamoDb support
This commit is contained in:
15
db_service.py
Normal file
15
db_service.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from abc import abstractmethod
|
||||
|
||||
|
||||
class DbService:
|
||||
|
||||
def __init__(self) -> None:
|
||||
super().__init__()
|
||||
|
||||
@abstractmethod
|
||||
def get_fact(self):
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
def get_multiple_facts(self, count=5):
|
||||
raise NotImplementedError
|
||||
Reference in New Issue
Block a user