<commit_before># -*- coding: utf-8 -*-
from datetime import datetime

from django.contrib.auth import get_user_model
from django.contrib.contenttypes import generic
from django.contrib.contenttypes.models import ContentType
from django.db import models
from django.utils.translation import ugettext as _
from django_core.db.models import AbstractBaseModel
from django_core.db.models import AbstractTokenModel
from python_tools.list_utils import make_obj_list

from .constants import Status
from .db.models import ShareManager


User = get_user_model()


class AbstractShare(AbstractTokenModel, AbstractBaseModel):
    """Abstract Base share object represents basic shared information for a
    specific user sharing an object.

    It's highly recommended that the implementing class puts a index on one of<commit_msg>fix for abstract base model import issues<commit_after># -*- coding: utf-8 -*-
from datetime import datetime

from django.contrib.auth import get_user_model
from django.contrib.contenttypes import generic
from django.contrib.contenttypes.models import ContentType
from django.db import models
from django.utils.translation import ugettext as _
from django_core.db.models.mixins.base import AbstractBaseModel
from django_core.db.models import AbstractTokenModel
from python_tools.list_utils import make_obj_list

from .constants import Status
from .db.models import ShareManager


User = get_user_model()


class AbstractShare(AbstractTokenModel, AbstractBaseModel):
    """Abstract Base share object represents basic shared information for a
    specific user sharing an object.

    It's highly recommended that the implementing class puts a index on one of
{'fraction_non_alphanumeric': 0.0513126491646778, 'fraction_numerical': 0.0011933174224343676, 'mean_word_length': 5.376425855513308, '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': '2723173', 'n_tokens_mistral': 412, 'n_tokens_neox': 405, 'n_words': 167}