Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword UnaryOpNot NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Assign NameStore Num For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd NameStore Num handlers ExceptHandler type AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad NameLoad attr body Raise ExceptHandler type AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad NameLoad attr body Raise Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListComp Call NameLoad NameLoad AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body For NameStore AttributeLoad NameLoad attr body If CompareEq SubscriptLoad NameLoad Index Num Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return NameLoad decorator_list decorator_list
N/A email.mime.base MIMEBase django.conf settings django.core.exceptions ImproperlyConfigured django.core.mail.backends.base BaseEmailBackend django.core.mail.message sanitize_address EmailMultiAlternatives N/A sendgrid SendGridBackend N/A BaseEmailBackend N/A N/A 
    A wrapper for SendGrid mailer
     __init__ N/A N/A self fail_silently N/A False kwargs N/A N/A N/A N/A N/A super SendGridBackend self __init__ fail_silently fail_silently N/A N/A self api_key N/A getattr settings SENDGRID_API_KEY None N/A N/A N/A self api_key None N/A N/A N/A ImproperlyConfigured SENDGRID_API_KEY not declared in settings.py N/A N/A self client N/A N/A sendgrid SendGridClient N/A self api_key raise_errors N/A fail_silently N/A open N/A N/A self N/A N/A N/A N/A close N/A N/A self N/A N/A N/A N/A send_messages N/A N/A self email_messages N/A N/A N/A 
        Sends one or more EmailMessage objects and returns the number of email
        messages sent.
         N/A N/A email_messages N/A N/A N/A num_sent 0 N/A message email_messages N/A N/A N/A N/A mail N/A N/A self _create_mail message N/A mail N/A N/A N/A N/A N/A self client send mail N/A num_sent 1 N/A N/A N/A N/A sendgrid SendGridClientError N/A N/A N/A N/A self fail_silently N/A N/A N/A N/A N/A sendgrid SendGridServerError N/A N/A N/A N/A self fail_silently N/A N/A N/A num_sent N/A _create_mail N/A N/A self email N/A N/A N/A A helper method that creates mail for sending. N/A N/A N/A N/A email recipients N/A N/A False N/A from_email N/A sanitize_address N/A email from_email N/A email encoding N/A recipients N/A N/A sanitize_address addr N/A email encoding N/A addr N/A N/A email recipients N/A mail N/A N/A sendgrid Mail N/A N/A N/A mail add_to recipients N/A N/A N/A mail add_cc N/A email cc N/A N/A N/A mail add_bcc N/A email bcc N/A N/A N/A mail set_text N/A email body N/A N/A N/A mail set_subject N/A email subject N/A N/A N/A mail set_from from_email N/A N/A isinstance email EmailMultiAlternatives N/A N/A alt N/A email alternatives N/A N/A N/A N/A alt N/A 1 text/html N/A N/A N/A N/A mail set_html N/A alt N/A 0 N/A attachment N/A email attachments N/A N/A N/A isinstance attachment MIMEBase N/A N/A N/A N/A mail add_attachment_stream N/A N/A attachment get_filename N/A N/A attachment get_payload N/A N/A N/A isinstance attachment tuple N/A N/A N/A N/A mail add_attachment_stream N/A attachment N/A 0 N/A attachment N/A 1 N/A mail N/A N/A