This is an automated email from the ASF dual-hosted git repository.
madhan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new b7849aeb7 ATLAS-4759: Python client - do not suppress HTTP 503
(SERVICE_UNAVAILABLE)
b7849aeb7 is described below
commit b7849aeb78856f2f8e205c5e784cee84409cbc72
Author: Maxim Martynov <[email protected]>
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 <[email protected]>
---
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='[email protected]',
description="Apache Atlas Python Client",