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:36 UTC
[atlas] 01/02: Revert "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 e95753f64aa26817c648726c307413d69730ff10
Author: Madhan Neethiraj <ma...@apache.org>
AuthorDate: Mon Apr 25 12:16:59 2022 -0700
Revert "fix minor problem in list_attributes_to_params()"
This reverts commit cc47aca6cf9a7e05c9e81ab218a077f40af8d9fe.
---
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 c7d3d52b5..01d0762be 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_ + str(i) + ":" + key
+ new_key = PREFIX_ATTR_ + i + ":" + key
query_params[new_key] = value
return query_params