MCPcopy Index your code
hub / github.com/Python3WebSpider/ProxyPool / __init__

Method __init__

proxypool/processors/tester.py:31–37  ·  view source on GitHub ↗

init redis

(self)

Source from the content-addressed store, hash-verified

29 """
30
31 def __init__(self):
32 """
33 init redis
34 """
35 self.redis = RedisClient()
36 self.testers_cls = testers_cls
37 self.testers = [tester_cls() for tester_cls in self.testers_cls]
38
39 async def test(self, proxy: Proxy, session: aiohttp.ClientSession):
40 """

Callers

nothing calls this directly

Calls 1

RedisClientClass · 0.90

Tested by

no test coverage detected