mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 13:04:47 +08:00
10 lines
385 B
Python
10 lines
385 B
Python
from typing import Any, Iterator, List, Optional, Union
|
|
|
|
from django.core.mail.backends.base import BaseEmailBackend
|
|
from django.core.mail.message import EmailMessage
|
|
|
|
class EmailBackend(BaseEmailBackend):
|
|
fail_silently: bool
|
|
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
|
|
def send_messages(self, messages: Union[Iterator[Any], List[EmailMessage]]) -> int: ...
|