<commit_before>import logging

from django.conf import settings
from django.db.models.signals import pre_delete

from elasticutils.contrib.django.tasks import index_objects, unindex_objects
<commit_msg>Stop a deprecation warning that is thrown in elasticutils.<commit_after>import logging
import warnings

from django.conf import settings
from django.db.models.signals import pre_delete

# ignore a deprecation warning from elasticutils until the fix is released
# refs https://github.com/mozilla/elasticutils/pull/160
warnings.filterwarnings("ignore",
                        category=DeprecationWarning,
                        module='celery.decorators')

from elasticutils.contrib.django.tasks import index_objects, unindex_objects

{'fraction_non_alphanumeric': 0.06114130434782609, 'fraction_numerical': 0.004076086956521739, 'mean_word_length': 4.419117647058823, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '5283736', 'n_tokens_mistral': 195, 'n_tokens_neox': 182, 'n_words': 56}