add fail_silently attribute for BaseEmailBackend instances (#931)

Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
This commit is contained in:
Oleg Höfling
2022-04-21 18:45:51 +02:00
committed by GitHub
parent a1b647700b
commit 8e875b13f7

View File

@@ -6,6 +6,7 @@ from django.core.mail.message import EmailMessage
_T = TypeVar("_T", bound="BaseEmailBackend")
class BaseEmailBackend:
fail_silently: bool
def __init__(self, fail_silently: bool = ..., **kwargs: Any) -> None: ...
def open(self) -> Optional[bool]: ...
def close(self) -> None: ...