class_docstr: Local worker class
      
class_docstr_tok: ["Local","worker","class"]
docstr: Initializes local worker
docstr_tok: ["Initializes","local","worker"]
code: def __init__(self, restart_on_free, pickle_proto):
      """Initializes local worker"""
      self.restart_on_free = restart_on_free
      self.pickle_proto = pickle_proto
      self.start()
  
imports: import os
  import threading
  import logging
  import inspect
  import sys
  import types
  import time
  import atexit
  from .None import transport
  from .None import auto
  from .None import common
  import subprocess
label_desc: Use image node_id 1 to create a new _Worker object from inherited base classes: object with example: obj = _Worker(restart_on_free, pickle_proto)