You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ma...@apache.org on 2022/04/25 19:17:37 UTC
[atlas] 02/02: ATLAS-4590: fix minor problem in list_attributes_to_params()
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
commit 05716dc76a009e789177bc2b9419a7811c61a3f2
Author: Doron Chen <cd...@il.ibm.com>
AuthorDate: Mon Apr 25 17:40:02 2022 +0300
ATLAS-4590: fix minor problem in list_attributes_to_params()
Signed-off-by: Madhan Neethiraj <ma...@apache.org>
---
intg/src/main/python/apache_atlas/utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/intg/src/main/python/apache_atlas/utils.py b/intg/src/main/python/apache_atlas/utils.py
index 01d0762be..c7d3d52b5 100644
--- a/intg/src/main/python/apache_atlas/utils.py
+++ b/intg/src/main/python/apache_atlas/utils.py
@@ -43,7 +43,7 @@ def list_attributes_to_params(attributes_list, query_params=None):
for i, attr in enumerate(attributes_list):
for key, value in attr.items():
- new_key = PREFIX_ATTR_ + i + ":" + key
+ new_key = PREFIX_ATTR_ + str(i) + ":" + key
query_params[new_key] = value
return query_params