def unmarshal(self, v):
        if not isinstance(v, timedelta):
            v = timedelta(seconds=v)
        return v
Convert the value from parsed JSON structure to native python representation.
dataset/ETHPy150Open hozn/stravalib/stravalib/attributes.py/TimeIntervalAttribute.unmarshal