<commit_before># -*- coding: utf-8 -*-

from sqlalchemy import Column, ForeignKey, Integer

from . import Base


class Users(Base):

    __tablename__ = 'applications_users'

    users_id = Column('applications_users_id ', Integer, primary_key=True)
    users_uuid = Column('applications_users_uuid ')
    applications_id = Column(ForeignKey('applications.applications_id'))
    username = Column()
    password = Column()

    def __init__(self, username, password):
        self.username = username
        self.password = password

    def __repr__(self):
        repr_ = '{}(username={}, password={})'
        return repr_.format(self.__class__.__name__,
                            self.username,
                            self.password)

<commit_msg>N/A: Fixed __repr__() showing decoded password<commit_after># -*- coding: utf-8 -*-

from sqlalchemy import Column, ForeignKey, Integer

from . import Base


class Users(Base):

    __tablename__ = 'applications_users'

    users_id = Column('applications_users_id ', Integer, primary_key=True)
    users_uuid = Column('applications_users_uuid ')
    applications_id = Column(ForeignKey('applications.applications_id'))
    username = Column()
    password = Column()

    def __init__(self, username, password):
        self.username = username
        self.password = password

    def __repr__(self):
        repr_ = '{}(username="{}", password="*")'
        return repr_.format(self.__class__.__name__, self.username)


{'fraction_non_alphanumeric': 0.11546252532072923, 'fraction_numerical': 0.0013504388926401081, 'mean_word_length': 3.198300283286119, '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': '1333506', 'n_tokens_mistral': 431, 'n_tokens_neox': 415, 'n_words': 94}