<commit_before>from .Base import Base


class Customer(Base):
    @property
    def id(self):
        return self.getProperty('id')

    @property
    def name(self):
        return self.getProperty('name')

    @property
    def email(self):
        return self.getProperty('email')

    @property
    def locale(self):
        return self.getProperty('locale')

    @property
    def metadata(self):
        if 'metadata' not in self:
            return None
        return self.getProperty('metadata')

    @property
    def mode(self):
        return self.getProperty('mode')

    @property
    def resource(self):
        return self.getProperty('resource')

    @property
    def createdAt(self):
        return self.getProperty('createdAt')
<commit_msg>Remove forgotten if in customer.py<commit_after>from .Base import Base


class Customer(Base):
    @property
    def id(self):
        return self.getProperty('id')

    @property
    def name(self):
        return self.getProperty('name')

    @property
    def email(self):
        return self.getProperty('email')

    @property
    def locale(self):
        return self.getProperty('locale')

    @property
    def metadata(self):
        return self.getProperty('metadata')

    @property
    def mode(self):
        return self.getProperty('mode')

    @property
    def resource(self):
        return self.getProperty('resource')

    @property
    def createdAt(self):
        return self.getProperty('createdAt')

{'fraction_non_alphanumeric': 0.10931174089068826, 'fraction_numerical': 0.0, 'mean_word_length': 2.5563549160671464, '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': '5975273', 'n_tokens_mistral': 403, 'n_tokens_neox': 402, 'n_words': 103}