'Ensure that when set explicitly the Field is set to a timedelta'

def enforce_type(self, value):

    if (isinstance(value, datetime.timedelta) or (value is None)):
        return value
    return self.from_json(value)
