<commit_before># MIT License
# Copyright (c) 2017 MassChallenge, Inc.

from rest_framework.response import Response
from rest_framework.views import APIView

from impact.permissions import V0APIPermissions
from impact.v0.api_data.job_posting_detail_data import (
    JobPostingDetailData,
    job_type_description,
)
from impact.v0.views.utils import (
    base_program_url,
    encrypt_image_token,
)


class JobPostingDetailView(APIView):
    permission_classes = (V0APIPermissions,)

    def __init__(self, *args, **kwargs):<commit_msg>[AC-4774] added logging to v0 job detail view<commit_after># MIT License
# Copyright (c) 2017 MassChallenge, Inc.

from rest_framework.response import Response
from rest_framework.views import APIView
from rest_framework_tracking.mixins import LoggingMixin

from impact.permissions import V0APIPermissions
from impact.v0.api_data.job_posting_detail_data import (
    JobPostingDetailData,
    job_type_description,
)
from impact.v0.views.utils import (
    base_program_url,
    encrypt_image_token,
)


class JobPostingDetailView(LoggingMixin, APIView):
    permission_classes = (V0APIPermissions,)

    def __init__(self, *args, **kwargs):
{'fraction_non_alphanumeric': 0.07372881355932204, 'fraction_numerical': 0.017796610169491526, 'mean_word_length': 5.597765363128492, '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': '3867174', 'n_tokens_mistral': 389, 'n_tokens_neox': 368, 'n_words': 87}