_client.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:dractor 作者: VerizonDigital 项目源码 文件源码
def __init__(self, http_config):
        assert isinstance(http_config, HTTPConfig), "not an instance of HTTPConfig"
        self.http_config = http_config
        super(CustomHTTPAdapter, self).__init__(max_retries=http_config.max_retries)
        self._logger = logging.getLogger(__name__)

        if not http_config.verify_ssl_cert:
            requests.packages.urllib3.disable_warnings(InsecureRequestWarning)

    # pylint: disable=R0913
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号