<commit_before>"""
ACE message types for the student module.
"""
from django.conf import settings

from edx_ace.message import MessageType
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers


class PasswordReset(MessageType):
    def __init__(self, *args, **kwargs):
        super(PasswordReset, self).__init__(*args, **kwargs)

        self.options['transactional'] = True
        self.options['from_address'] = configuration_helpers.get_value(
            'email_from_address', settings.DEFAULT_FROM_EMAIL
        )<commit_msg>Added a base MessageType for ace<commit_after>"""
ACE message types for the student module.
"""

from openedx.core.djangoapps.ace_common.message import BaseMessageType


class PasswordReset(BaseMessageType):
    def __init__(self, *args, **kwargs):
        super(PasswordReset, self).__init__(*args, **kwargs)

        self.options['transactional'] = True
{'fraction_non_alphanumeric': 0.10423452768729642, 'fraction_numerical': 0.0, 'mean_word_length': 4.621951219512195, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6948719', 'n_tokens_mistral': 256, 'n_tokens_neox': 250, 'n_words': 65}