Open sbdchd opened 3 years ago
Currently get_connection returns Any but can it return a Protocol or something? I feel like we could do something with the import literals like:
get_connection
get_connection(backend="django.core.mail.backends.smtp.EmailBackend")
Currently
get_connection
returns Any but can it return a Protocol or something? I feel like we could do something with the import literals like: