#NEWLINE# @ staticmethod #NEWLINE# def serialize( timeuuid , protocol_version ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return timeuuid . bytes #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# raise TypeError ( 'Got a non-UUID object for a UUID value' )