<commit_before>
from hs_core.serialization import GenericResourceMeta


class TimeSeriesResourceMeta(GenericResourceMeta):
    """
    Lightweight class for representing metadata of TimeSeriesResource instances.
    """

    def __init__(self):
        super(TimeSeriesResourceMeta, self).__init__()

    def _read_resource_metadata(self):
        super(TimeSeriesResourceMeta, self)._read_resource_metadata()

    def write_metadata_to_resource(self, resource):
        super(TimeSeriesResourceMeta, self).write_metadata_to_resource(resource)

    class Site(object):
        site_code = None
        site_name = None
        elevation_m = None
        elevation_datum = None
        site_type = None

        def __init__(self):
            pass

    class Variable(object):
        variable_code = None
        variable_name = None
        variable_type = None
        no_data_value = None<commit_msg>Specify instance attributes for TimeSeriesResourceMeta<commit_after>
from hs_core.serialization import GenericResourceMeta


class TimeSeriesResourceMeta(GenericResourceMeta):
    """
    Lightweight class for representing metadata of TimeSeriesResource instances.
    """
    def __init__(self):
        super(TimeSeriesResourceMeta, self).__init__()

        self.site = None
        self.variable = None
        self.method = None
        self.processing_level = None
        self.time_series_result = None

    def _read_resource_metadata(self):
        super(TimeSeriesResourceMeta, self)._read_resource_metadata()

    def write_metadata_to_resource(self, resource):
        super(TimeSeriesResourceMeta, self).write_metadata_to_resource(resource)

    class Site(object):
        site_code = None
        site_name = None
        elevation_m = None
        elevation_datum = None
        site_type = None

        def __init__(self):
            pass

    class Variable(object):
        variable_code = None
        variable_name = None
        variable_type = None
        no_data_value = None
{'fraction_non_alphanumeric': 0.06480558325024925, 'fraction_numerical': 0.0, 'mean_word_length': 2.912280701754386, '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': '4420899', 'n_tokens_mistral': 536, 'n_tokens_neox': 517, 'n_words': 119}