code: def __init__(self, protocol, port, logger, timeout, headers):
      self.protocol = protocol
      self.port = port
      self.logger = logger
      self.timeout = timeout
      self.headers = headers
  
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 1 to create a new RestrictedTabPy object  with example: obj = RestrictedTabPy(protocol, port, logger, timeout, headers)