<commit_before>from fmcapi.api_objects.apiclasstemplate import APIClassTemplate
import logging


class TaskStatuses(APIClassTemplate):
    """
    The Task Status Object in the FMC.
    """

    VALID_JSON_DATA = ["id", "name", "type"]
    VALID_FOR_KWARGS = VALID_JSON_DATA + []
    URL_SUFFIX = "/job/taskstatuses"
    VALID_CHARACTERS_FOR_NAME = """[.\w\d_\- ]"""

    def __init__(self, fmc, **kwargs):
        super().__init__(fmc, **kwargs)
        logging.debug("In __init__() for TaskStatuses class.")
        self.parse_kwargs(**kwargs)

    def post(self):
        logging.info("POST method for API for TaskStatuses not supported.")
        pass

    def put(self):
        logging.info("PUT method for API for TaskStatuses not supported.")
        pass

    def delete(self):
        logging.info("DELETE method for API for TaskStatuses not supported.")
        pass<commit_msg>'id' is required for TaskStatuses GET().<commit_after>from fmcapi.api_objects.apiclasstemplate import APIClassTemplate
import logging


class TaskStatuses(APIClassTemplate):
    """
    The Task Status Object in the FMC.
    """

    VALID_JSON_DATA = ["id", "name", "type"]
    VALID_FOR_KWARGS = VALID_JSON_DATA + []
    REQUIRED_FOR_GET = ["id"]
    URL_SUFFIX = "/job/taskstatuses"
    VALID_CHARACTERS_FOR_NAME = """[.\w\d_\- ]"""

    def __init__(self, fmc, **kwargs):
        super().__init__(fmc, **kwargs)
        logging.debug("In __init__() for TaskStatuses class.")
        self.parse_kwargs(**kwargs)

    def post(self):
        logging.info("POST method for API for TaskStatuses not supported.")
        pass

    def put(self):
        logging.info("PUT method for API for TaskStatuses not supported.")
        pass

    def delete(self):
        logging.info("DELETE method for API for TaskStatuses not supported.")
        pass

{'fraction_non_alphanumeric': 0.1187363834422658, 'fraction_numerical': 0.0, 'mean_word_length': 3.0196936542669586, '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': '1455045', 'n_tokens_mistral': 573, 'n_tokens_neox': 555, 'n_words': 146}