You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ni...@apache.org on 2021/06/01 17:49:49 UTC
[atlas] 02/05: ATLAS-4318 : Fixed bug in entity.py (#135)
This is an automated email from the ASF dual-hosted git repository.
nixon pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
commit 625f223cbf013b3c008b48e99261f55bb83c7cda
Author: UnexpectedPineapple <82...@users.noreply.github.com>
AuthorDate: Tue Jun 1 15:56:27 2021 +0100
ATLAS-4318 : Fixed bug in entity.py (#135)
Co-authored-by: UnexpectedPineapple <>
(cherry picked from commit 8f1bd684e4168c4cf6f0f05a8cb64acb18c90a5b)
---
intg/src/main/python/apache_atlas/client/entity.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/intg/src/main/python/apache_atlas/client/entity.py b/intg/src/main/python/apache_atlas/client/entity.py
index f48ab7d..14cb4ed 100644
--- a/intg/src/main/python/apache_atlas/client/entity.py
+++ b/intg/src/main/python/apache_atlas/client/entity.py
@@ -254,13 +254,13 @@ class EntityClient:
{query}), None, query_params)
def get_entity_headers(self, tag_update_start_time):
- query_params = {"tagUpdateStartTime", tag_update_start_time}
+ query_params = {"tagUpdateStartTime": tag_update_start_time}
return self.client.call_api(EntityClient.GET_BULK_HEADERS, AtlasEntityHeaders, query_params)
# Business attributes APIs
def add_or_update_business_attributes(self, entity_guid, is_overwrite, business_attributes):
- query_params = {"isOverwrite", is_overwrite}
+ query_params = {"isOverwrite": is_overwrite}
self.client.call_api(EntityClient.ADD_BUSINESS_ATTRIBUTE.format_path({'entity_guid': entity_guid}), None,
query_params, business_attributes)