<commit_before>from raggregate.models import *
import sqlalchemy
from sqlalchemy import Column
from sqlalchemy import UnicodeText
from raggregate.guid_recipe import GUID

class MOTD(Base):
    __tablename__ = 'motd'
    id = Column(GUID, primary_key=True)
    message = Column(UnicodeText, nullable=False)
    author = Column(UnicodeText)
    source = Column(UnicodeText)
    link = Column(UnicodeText)
    added_by = Column(UnicodeText)
    datestring = Column(UnicodeText)

    def __init__(self, message = None, author = None, source = None, link = None,
                 added_by = None):
        self.message = message
        self.author = author
        self.source = source
        self.link = link
        self.added_by = added_by
        self.datestring = datestring<commit_msg>Added source_title and source_url columns to motd table<commit_after>from raggregate.models import *
import sqlalchemy
from sqlalchemy import Column
from sqlalchemy import UnicodeText
from raggregate.guid_recipe import GUID

class MOTD(Base):
    __tablename__ = 'motd'
    id = Column(GUID, primary_key=True)
    message = Column(UnicodeText, nullable=False)
    author = Column(UnicodeText)
    source = Column(UnicodeText)
    link = Column(UnicodeText)
    added_by = Column(UnicodeText)
    datestring = Column(UnicodeText)
    source_title = Column(UnicodeText)
    source_url = Column(UnicodeText)

    def __init__(self, message, author, added_by, datestring, source_title, source_url):
                 added_by = None):
        self.message = message
        self.author = author
        self.source = source
        self.link = link
        self.added_by = added_by
        self.datestring = datestring
        self.source_title = source_title
        self.source_url = source_url
{'fraction_non_alphanumeric': 0.07476110174255199, 'fraction_numerical': 0.0, 'mean_word_length': 3.2180094786729856, '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': '4195309', 'n_tokens_mistral': 533, 'n_tokens_neox': 532, 'n_words': 134}