#NEWLINE# @ classmethod #NEWLINE# def convert_with_links( cls , rpc_node , fields = None ) : #NEWLINE# #INDENT# node = Node ( ** rpc_node . as_dict ( ) ) #NEWLINE# if ( fields is not None ) : #NEWLINE# #INDENT# api_utils . check_for_invalid_fields ( fields , node . as_dict ( ) ) #NEWLINE# #UNINDENT# update_state_in_older_versions ( node ) #NEWLINE# hide_fields_in_newer_versions ( node ) #NEWLINE# show_password = pecan . request . context . show_password #NEWLINE# show_states_links = api_utils . allow_links_node_states_and_driver_properties ( ) #NEWLINE# return cls . _convert_with_links ( node , pecan . request . public_url , fields = fields , show_password = show_password , show_states_links = show_states_links )