#NEWLINE# def handleResults( self , result ) : #NEWLINE# #INDENT# '\n        Call back function to be implemented by the CLI.\n        ' #NEWLINE# if ( result . status_code == http_client . OK ) : #NEWLINE# #INDENT# self . metrics = json . loads ( result . text ) #NEWLINE# self . filter ( ) #NEWLINE# out = json . dumps ( self . metrics , sort_keys = True , indent = 4 , separators = ( ',' , ': ' ) ) #NEWLINE# print ( out )