django-types icon indicating copy to clipboard operation
django-types copied to clipboard

EmailMessage.attach does not accept MIMEBase

Open Mapiarz opened this issue 2 years ago • 1 comments

Stubs seem to be handling this correctly: https://github.com/typeddjango/django-stubs/blob/a7982d4e2a60abfd65124461a4bf575c6657f5cf/django-stubs/core/mail/message.pyi#L103

This incorrect annotation likely extends to other types and fields/methods.

If one wanted to contribute, what's the smartest way to go about catching up with stubs?

Mapiarz avatar Jul 04 '23 14:07 Mapiarz

There isn't really a standard way to catch up with the Django-stubs, essentially I add stuff as I need it for this package

Incremental changes is probably best overall

sbdchd avatar Jul 04 '23 15:07 sbdchd