This is an automated email from the ASF dual-hosted git repository.

madhan pushed a commit to branch ranger-2.4
in repository https://gitbox.apache.org/repos/asf/ranger.git

commit e5389eba12fe9c1bd71a8a29e49c6297e4a06dc0
Author: Abhishek Kumar <[email protected]>
AuthorDate: Thu Feb 2 14:50:50 2023 -0800

    RANGER-4064: Fix python client usage on SSL enabled cluster w/o host 
verification
    
    (cherry picked from commit c86c62fde0dde2c06fb6ce7d09a8e374ce72012b)
---
 intg/src/main/python/apache_ranger/client/ranger_client.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/intg/src/main/python/apache_ranger/client/ranger_client.py 
b/intg/src/main/python/apache_ranger/client/ranger_client.py
index f3e9bfe25..e26528013 100644
--- a/intg/src/main/python/apache_ranger/client/ranger_client.py
+++ b/intg/src/main/python/apache_ranger/client/ranger_client.py
@@ -42,7 +42,7 @@ QUERY_PARAM_USER_DOT_NAME = 'user.name'.encode("utf-8")
 class RangerClient:
     def __init__(self, url, auth):
         self.client_http = RangerClientHttp(url, auth)
-
+        self.session     = self.client_http.session
         logging.getLogger("requests").setLevel(logging.WARNING)
 
 

Reply via email to