class_docstr: EvaluationPlaneHandler is responsible for running arbitrary python scripts.
class_docstr_tok: ["EvaluationPlaneHandler","is","responsible","for","running","arbitrary","python","scripts","."]
code: def _call_subprocess(self, function_to_evaluate, arguments):
      restricted_tabpy = RestrictedTabPy(
          self.protocol,
          self.port,
          self.logger,
          self.eval_timeout,
          self.request.headers,
      )
      # Exec does not run the function, so it does not block.
      exec(function_to_evaluate, globals())
  
      # 'noqa' comments below tell flake8 to ignore undefined _user_script
      # name - the name is actually defined with user script being wrapped
      # in _user_script function (constructed as a striong) and then executed
      # with exec() call above.
      future = self.executor.submit(
          _user_script,  # noqa: F821
          restricted_tabpy,
          **arguments if arguments is not None else None,
      )
  
      ret = yield gen.with_timeout(
          timedelta(seconds=self.eval_timeout), future
      )
      raise gen.Return(ret)
  
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 6 for calling the EvaluationPlaneHandler obj's underlying member method code with example usage: obj._call_subprocess(function_to_evaluate, arguments) without return types