@staticmethod
    def deserialize(data):
        return TimePeriod(TimeUnit(data[0]), data[1])
deserialize model
dataset/ETHPy150Open biicode/bii-server/model/epoch/time_period.py/TimePeriod.deserialize