<commit_before>__author__ = '<NAME>'

class Resource:
    def __init__(self):
        self.extension = []
        self.modifierExtension = []
        self.__language = ''
        self.text = ''
        self.contained = []

    @property
    def language(self):
        return self.__language

    @code.setter
    def language(self, code):
        if not isinstance(code, fhir.primitive.Code):
            raise TypeError('code has to be a fhir.primitive.Code instance')
        self.__language = code<commit_msg>Resource class added.<commit_after>__author__ = '<NAME>'

class Resource:
    def __init__(self):
        self.extension = []
        self.modifierExtension = []
        self.__language = ''
        self.text = ''
        self.contained = []

    @property
    def language(self):
        return self.__language

    @language.setter
    def language(self, code):
        if not isinstance(code, fhir.primitive.Code):
            raise TypeError('code has to be a fhir.primitive.Code instance')
        self.__language = code
{'fraction_non_alphanumeric': 0.11078998073217726, 'fraction_numerical': 0.0, 'mean_word_length': 2.287974683544304, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5853079', 'n_tokens_mistral': 291, 'n_tokens_neox': 284, 'n_words': 69}