#NEWLINE# def bind_processor( self , dialect ) : #NEWLINE# #INDENT# datetime_time = datetime . time #NEWLINE# format = self . _storage_format #NEWLINE# def process( value ) : #NEWLINE# #INDENT# if ( value is None ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( value , datetime_time ) : #NEWLINE# #INDENT# return ( format % { #NEWLINE# #INDENT# 'hour' : value . hour , #NEWLINE# 'minute' : value . minute , #NEWLINE# 'second' : value . second , #NEWLINE# 'microsecond' : value . microsecond , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise TypeError ( 'SQLite Time type only accepts Python time objects as input.' ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return format