

def __init__(self, subject, text_or_dict, type_name, template_path=None):
    context = {
        'subject': subject,
        'type': type_name,
    }
    self.update_context(context, text_or_dict)
    super(_EmailMessageBase, self).__init__(context, template_path=template_path)

dataset/ETHPy150Open idlesign/django-sitemessage/sitemessage/messages/email.py _EmailMessageBase.__init__/original