def process(value):
    if (value is None):
        return None
    elif isinstance(value, datetime_time):
        return (format_ % {'hour': value.hour, 'minute': value.minute, 'second': value.second, 'microsecond': value.microsecond})
    else:
        raise TypeError('SQLite Time type only accepts Python time objects as input.')
def process(value):
    if (value is None):
        return None
    elif isinstance(value, datetime_time):
        return (format_ % {'hour': value.hour, 'minute': value.minute, 'second': value.second, 'microsecond': value.microsecond})
    else:
        raise TypeError('SQLite Time type only accepts Python time objects as input.')