code: def query(self, name, *args, **kwargs):
      url = f"{self.protocol}://localhost:{self.port}/query/{name}"
      self.logger.log(logging.DEBUG, f"Querying {url}...")
      internal_data = {"data": args or kwargs}
      data = json.dumps(internal_data)
      headers = self.headers
      response = requests.post(
          url=url,
          data=data,
          headers=headers,
          timeout=self.timeout,
          verify=False,
      )
      return response.json()
  
imports: import pandas
  import pyarrow
  import uuid
  from tabpy.tabpy_server.handlers import BaseHandler
  import json
  import simplejson
  import logging
  from tabpy.tabpy_server.common.util import format_exception
  import requests
  from tornado import gen
  from datetime import timedelta
  from tabpy.tabpy_server.handlers.util import AuthErrorStates
label_desc: Use image node_id 2 for calling the RestrictedTabPy obj's underlying member method code with example usage: obj.query(name) and returns: response