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

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


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new b1d945076 ATLAS-4759: Python client - do not suppress HTTP 503 
(SERVICE_UNAVAILABLE)
b1d945076 is described below

commit b1d9450761de70adf9b3ecd35b5f62dc31d70489
Author: Maxim Martynov <martinov_m...@mail.ru>
AuthorDate: Mon Jun 5 12:33:35 2023 -0700

    ATLAS-4759: Python client - do not suppress HTTP 503 (SERVICE_UNAVAILABLE)
    
    Signed-off-by: Madhan Neethiraj <mad...@apache.org>
    (cherry picked from commit b7849aeb78856f2f8e205c5e784cee84409cbc72)
---
 intg/src/main/python/README.md                          | 2 +-
 intg/src/main/python/apache_atlas/client/base_client.py | 2 --
 intg/src/main/python/setup.py                           | 2 +-
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/intg/src/main/python/README.md b/intg/src/main/python/README.md
index 802bf8eb7..140e6c329 100644
--- a/intg/src/main/python/README.md
+++ b/intg/src/main/python/README.md
@@ -16,7 +16,7 @@ Verify if apache-atlas client is installed:
 
 Package      Version
 ------------ ---------
-apache-atlas 0.0.12
+apache-atlas 0.0.14
 ```
 
 ## Usage
diff --git a/intg/src/main/python/apache_atlas/client/base_client.py 
b/intg/src/main/python/apache_atlas/client/base_client.py
index 3f12929b0..777839701 100644
--- a/intg/src/main/python/apache_atlas/client/base_client.py
+++ b/intg/src/main/python/apache_atlas/client/base_client.py
@@ -100,6 +100,4 @@ class AtlasClient:
         elif response.status_code == HTTPStatus.SERVICE_UNAVAILABLE:
             log.error("Atlas Service unavailable. HTTP Status: %s", 
HTTPStatus.SERVICE_UNAVAILABLE)
 
-            return None
-
         raise AtlasServiceException(api, response)
diff --git a/intg/src/main/python/setup.py b/intg/src/main/python/setup.py
index f0e16d0ca..daeaf6295 100644
--- a/intg/src/main/python/setup.py
+++ b/intg/src/main/python/setup.py
@@ -28,7 +28,7 @@ with open("README.md", "r") as fh:
 
 setup(
     name='apache-atlas',
-    version='0.0.12',
+    version='0.0.14',
     author="Apache Atlas",
     author_email='d...@atlas.apache.org',
     description="Apache Atlas Python Client",

Reply via email to