MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / __init__

Method __init__

proxy/base_proxy.py:55–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53
54class IpCache:
55 def __init__(self):
56 self.cache_client: AbstractCache = CacheFactory.create_cache(cache_type=config.CACHE_TYPE_REDIS)
57
58 def set_ip(self, ip_key: str, ip_value_info: str, ex: int):
59 """

Callers

nothing calls this directly

Calls 1

create_cacheMethod · 0.80

Tested by

no test coverage detected