#NEWLINE# def get_api_client( self , cluster ) : #NEWLINE# #INDENT# manager_ip = self . pu . get_manager ( cluster ) . management_ip #NEWLINE# cm_password = db_helper . get_cm_password ( cluster ) #NEWLINE# return api_client . ApiResource ( manager_ip , username = cm_password . CM_DEFAULT_USERNAME , password = cm_password , version = self . CM_API_VERSION )