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:35 UTC

[atlas] branch master updated (cc47aca6c -> 05716dc76)

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

madhan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git


    from cc47aca6c fix minor problem in list_attributes_to_params()
     new e95753f64 Revert "fix minor problem in list_attributes_to_params()"
     new 05716dc76 ATLAS-4590: fix minor problem in list_attributes_to_params()

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:


[atlas] 01/02: Revert "fix minor problem in list_attributes_to_params()"

Posted by ma...@apache.org.
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


[atlas] 02/02: ATLAS-4590: fix minor problem in list_attributes_to_params()

Posted by ma...@apache.org.
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