#NEWLINE# def rows( self ) : #NEWLINE# #INDENT# for ( r , cv ) in self . shards : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# assert isinstance ( r , int ) #NEWLINE# #UNINDENT# except AssertionError : #NEWLINE# #INDENT# raise AssertionError ( r , cv ) #NEWLINE# #UNINDENT# #UNINDENT# rows = sum ( [ r for ( r , cv ) in self . shards ] ) #NEWLINE# assert isinstance ( rows , int ) #NEWLINE# return rows