#NEWLINE# def bind_processor( self , dialect ) : #NEWLINE# #INDENT# def process( value ) : #NEWLINE# #INDENT# if isinstance ( value , datetime . datetime ) : #NEWLINE# #INDENT# value = datetime . datetime . combine ( self . __zero_date , value . time ( ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( value , datetime . time ) : #NEWLINE# #INDENT# value = datetime . datetime . combine ( self . __zero_date , value ) #NEWLINE# #UNINDENT# #UNINDENT# return value #NEWLINE# #UNINDENT# return self