def get_agent(self, tid=1): if self.tenant_cache[tid].anonymize_outgoing_connections: return get_tor_agent(self.settings.socks_host, self.settings.socks_port) return get_web_agent()
def get_agent(self): if State.tenant_cache[1].anonymize_outgoing_connections: return get_tor_agent(self.socks_host, self.socks_port) return get_web_agent()
def get_agent(self): if self.memory_copy.anonymize_outgoing_connections: return get_tor_agent(self.socks_host, self.socks_port) else: return get_web_agent()
def get_agent(self): if self.tenant_cache[1].anonymize_outgoing_connections: return get_tor_agent(self.settings.socks_host, self.settings.socks_port) return get_web_agent()