Async release
This commit is contained in:
13
app/repositories/abc/document_store.py
Normal file
13
app/repositories/abc/document_store.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from abc import ABC
|
||||
|
||||
|
||||
class IDocumentStore(ABC):
|
||||
|
||||
async def save_to_db(self, collection: str, item):
|
||||
pass
|
||||
|
||||
async def save_to_db_with_id(self, collection: str, item, id: str):
|
||||
pass
|
||||
|
||||
async def get_all(self, collection: str):
|
||||
pass
|
||||
Reference in New Issue
Block a user