rd way to create an ABC using
inheritance.</p></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">class SMTPServiceInterface(ABC, Generic[_T]):
    def __init__(self, transporter: Transporter) -&gt; None:
        self.transporter = transporter

    @abstractmethod
    async def send_raw_email(
        self, content: EmailContent, user_context: Dict[str, Any]
    ) -&gt; None:
        pass

    @abstractmethod
    async def get_content(
        self,