class TSReach():
    
    def __init__(self, dic_attr: dict):
        for key in dic_attr.keys():
            self.__setattr__(key, dic_attr[key])

    def __str__(self):
        attributes = [i for i in dir(self) if not i.startswith('__')]
        s = "TimeSeries has the following attributes : [" + ", ".join(attributes) + "]"
        return s