code: def _handle_result(self, po_name, data, qry, uid):
      (response_type, response, gls_time) = self._query(
          po_name, data, uid, qry
      )
  
      if response_type == QuerySuccessful:
          result_dict = {
              "response": response["response"],
              "version": response["version"],
              "model": po_name,
              "uuid": uid,
          }
          self.write(result_dict)
          self.finish()
          return (gls_time, response["response"])
      else:
          if response_type == UnknownURI:
              self.error_out(
                  404,
                  "UnknownURI",
                  info=(
                      "No query object has been registered"
                      f' with the name "{po_name}"'
                  ),
              )
          elif response_type == QueryError:
              self.error_out(400, "QueryError", info=response)
          else:
              self.error_out(
                  500,
                  f"Error querying function '{po_name}'",
                  info=response,
              )
  
          return (None, None)
  
imports: from tabpy.tabpy_server.handlers import BaseHandler
  import logging
  import time
  from tabpy.tabpy_server.common.messages import Query, QuerySuccessful, QueryError, UnknownURI
  from hashlib import md5
  import uuid
  import json
  from tabpy.tabpy_server.common.util import format_exception
  import urllib
  from tornado import gen
  from tabpy.tabpy_server.handlers.util import AuthErrorStates
label_desc: Use image node_id 4 for calling the QueryPlaneHandler obj's underlying member method code with example usage: obj._handle_result(po_name, data, qry, uid) and returns: gls_time,  response, None,  None