def _configure_proxy(self):
        if not hasattr(self.opener, 'add_proxy'):
            return
        
        if self.settings.job.has('proxies'):
            proxies = self.settings.job.proxies
            try:
                for p in proxies:
                    proxy_type = p.type if p.has('type') else 'all'
                    if p.has('addr'):
                        self.opener.add_proxy(
                            p.addr, 
                            proxy_type=proxy_type,
                            user=p.user if p.has('user') else None,
                            password=p.password if p.has('password') else None)
            except __HOLE__:
                return
dataset/ETHPy150Open chineking/cola/cola/job/executor.py/Executor._configure_proxy