#NEWLINE# @ tornado . web . authenticated #NEWLINE# def get( self , flash_messages = None ) : #NEWLINE# #INDENT# method_name = self . get_argument ( 'method_name' , '' ) #NEWLINE# method_file = RPCMethod ( os . path . join ( self . api_dir , RPCHandler . PATH ) , method_name ) #NEWLINE# method_file . load ( ) #NEWLINE# method_file . load_description ( ) #NEWLINE# category = self . api_data . get_rpc_category ( method_name ) #NEWLINE# self . render ( 'create_resource.html' , protocol = 'rpc' , category = category , method_file = method_file , SUPPORTED_FORMATS = SUPPORTED_FORMATS . keys ( ) , jsonrpc = jsonrpc_available , flash_messages = flash_messages )