#NEWLINE# def sequential_id( self , uuid ) : #NEWLINE# #INDENT# if ( self . sequence is not None ) : #NEWLINE# #INDENT# return self . sequence . sequential_id ( uuid ) #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# return int ( uuid ) #NEWLINE# #UNINDENT# except ( ValueError , TypeError ) : #NEWLINE# #INDENT# raise ValueError ( ( 'A `Sequence` instance is required to use non integer uuid `%s`.' % ( uuid , ) ) )