#NEWLINE# def get_alerts( self , AlertState = 'All' ) : #NEWLINE# #INDENT# if ( AlertState == 'All' ) : #NEWLINE# #INDENT# return get_members ( self . _con . get ( ( uri [ 'alerts' ] + '?start=0&count=9999999' ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return self . _con . get_entities_byfield ( uri [ 'alerts' ] , 'alertState' , AlertState , count = 9999999 )