MCPcopy
hub / github.com/jhao104/proxy_pool / getAll

Method getAll

handler/proxyHandler.py:64–70  ·  view source on GitHub ↗

get all proxy from pool as Proxy list :return:

(self, https=False)

Source from the content-addressed store, hash-verified

62 return self.db.delete(proxy.proxy)
63
64 def getAll(self, https=False):
65 """
66 get all proxy from pool as Proxy list
67 :return:
68 """
69 proxies = self.db.getAll(https)
70 return [Proxy.createFromJson(_) for _ in proxies]
71
72 def exists(self, proxy):
73 """

Callers 1

__runProxyCheckFunction · 0.95

Calls 1

createFromJsonMethod · 0.80

Tested by

no test coverage detected