def __init__(self, id_, job_desc, mq, 
                 working_dir, stopped, nonsuspend, 
                 budget_client, speed_client, counter_client, 
                 is_local=False, env=None, logger=None):
        self.id_ = id_
        self.job_desc = job_desc
        self.opener = job_desc.opener_cls(
            timeout=DEFAULT_OPENER_TIMEOUT)
        self.mq = mq
        self.dir_ = working_dir
        self.settings = job_desc.settings
        
        self.stopped = stopped
        self.nonsuspend = nonsuspend
        
        self.budget_client = budget_client
        self.speed_client = speed_client
        self.counter_client = counter_client
        
        if env is None:
            env = {}
        self.env = env
        self.is_local = is_local
        self.ip = env.get('ip') and get_ip()
        self.logger = logger
        
        self._configure_proxy()
        
        self.processing_inc = False
        
        # used for tracking if banned
        self.is_normal = True
        self.normal_start = time.time()
        self.normal_pages = 0
        self.banned_start = None
        
        self.banned_handler_idx = -1
        self.handle_banned_by_proxy = False
        self._configure_banned_handler()
        self.banned_handler_size = len(self.banned_handlers)
dataset/ETHPy150Open chineking/cola/cola/job/executor.py/Executor.__init__/operator `or` -> `and`