Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Python3WebSpider/ProxyPool
/ get_conn
Function
get_conn
proxypool/processors/server.py:41–48 ·
view source on GitHub ↗
get redis client object :return:
()
Source
from the content-addressed store, hash-verified
39
40
41
def
get_conn():
42
""
"
43
get redis client object
44
:
return
:
45
""
"
46
if
not hasattr(g,
'redis'
):
47
g.redis = RedisClient()
48
return
g.redis
49
50
51
def
get_request_key():
Callers
3
get_proxy
Function · 0.85
get_proxy_all
Function · 0.85
get_count
Function · 0.85
Calls
1
RedisClient
Class · 0.90
Tested by
no test coverage detected