<commit_before># This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, you can obtain one at http://mozilla.org/MPL/2.0/.
from celery.utils.log import get_task_logger
from guardian.utils import clean_orphan_obj_perms

from ..celery import celery

logger = get_task_logger(__name__)


@celery.task
def cleanup_permissions():
    clean_orphan_obj_perms()
<commit_msg>Fix import.<commit_after># This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, you can obtain one at http://mozilla.org/MPL/2.0/.
from celery.utils.log import get_task_logger
from guardian.utils import clean_orphan_obj_perms

from .celery import celery

logger = get_task_logger(__name__)


@celery.task
def cleanup_permissions():
    clean_orphan_obj_perms()

{'fraction_non_alphanumeric': 0.07683863885839737, 'fraction_numerical': 0.008781558726673985, 'mean_word_length': 4.560975609756097, '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': '5765322', 'n_tokens_mistral': 298, 'n_tokens_neox': 281, 'n_words': 107}