Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sabuhish committed Nov 23, 2024
1 parent ed54128 commit 7d03281
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions fastapi_mail/msg.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.utils import formatdate, make_msgid
from typing import Any, Optional, Union
from typing import Any, Union

from .schemas import MessageType, MultipartSubtypeEnum

Expand Down Expand Up @@ -107,9 +107,7 @@ def attach_alternative(self, message: MIMEMultipart) -> MIMEMultipart:
message.attach(tmpmsg)
return message

async def _message(
self, sender: str
) -> Union[EmailMessage, Message]:
async def _message(self, sender: str) -> Union[EmailMessage, Message]:
"""
Creates the email message
"""
Expand Down

0 comments on commit 7d03281

Please sign in to comment.