def __init__(self): logger_connect.info("Initializing ConnectionPoolManager ") self.http = urllib3.PoolManager(10) urllib3.disable_warnings() auth = str(Connect.user) + ":" + str(Connect.pwd) self.headers = urllib3.util.make_headers(basic_auth=auth)
def __init__(self): logger_connect.info(" Initializing Connect ")