code: def __init__(self, server):
      super(AutoStopThread, self).__init__()
      self.__server = server
  
imports: import threading
  import time
  from six.moves import xmlrpc_server
  import pyalgotrade.logger
  from pyalgotrade.optimizer import base
  from pyalgotrade.optimizer import serialization
label_desc: Use image node_id 1 to create a new AutoStopThread object from inherited base classes: threading with example: obj = AutoStopThread(server)