#NEWLINE# def commit( self , retries = None ) : #NEWLINE# #INDENT# 'Commit batch with no return value.' #NEWLINE# self . commands += ( ( 'COMMIT' + ' RETRY {}' . format ( self ) ) if retries else '' ) #NEWLINE# g = self . graph #NEWLINE# g . client . batch ( self . commands ) #NEWLINE# self . clear ( )