Initial commit
This commit is contained in:
8
src/application/contracts/i_sender.py
Normal file
8
src/application/contracts/i_sender.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
|
||||
class ISender(ABC):
|
||||
|
||||
@abstractmethod
|
||||
async def send(self, to: str, subject: str, body: str, plain: str | None = None) -> None:
|
||||
raise NotImplementedError
|
||||
Reference in New Issue
Block a user