<commit_before>from peewee import *
from playhouse.shortcuts import model_to_dict

from argosd import settings


class BaseModel(Model):
    """Abstract model. Sets the database."""

    def to_dict(self):
        """Represents this object as a dictionary."""
        return model_to_dict(self)

    class Meta:
        database = SqliteDatabase('{}/argosd.db'.format(settings.ARGOSD_PATH))


class Show(BaseModel):
    """TV show we need to download from RSS feeds."""

    id = PrimaryKeyField()
    title = CharField(unique=True)
    follow_from_season = IntegerField()
    follow_from_episode = IntegerField()
    minimum_quality = IntegerField()
    tmdb_id = IntegerField(null=True)
    wait_minutes_for_better_quality = IntegerField(default=0)<commit_msg>Removed unused attribute<commit_after>from peewee import *
from playhouse.shortcuts import model_to_dict

from argosd import settings


class BaseModel(Model):
    """Abstract model. Sets the database."""

    def to_dict(self):
        """Represents this object as a dictionary."""
        return model_to_dict(self)

    class Meta:
        database = SqliteDatabase('{}/argosd.db'.format(settings.ARGOSD_PATH))


class Show(BaseModel):
    """TV show we need to download from RSS feeds."""

    id = PrimaryKeyField()
    title = CharField(unique=True)
    follow_from_season = IntegerField()
    follow_from_episode = IntegerField()
    minimum_quality = IntegerField()
    wait_minutes_for_better_quality = IntegerField(default=0)
{'fraction_non_alphanumeric': 0.09886439545758183, 'fraction_numerical': 0.0013360053440213762, 'mean_word_length': 4.0608108108108105, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6670223', 'n_tokens_mistral': 455, 'n_tokens_neox': 430, 'n_words': 113}