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 e1f1be8b7 Update entity.py remove_classification method
new 5f38e9255 Merge pull request #232 from itsjoaoduque/patch-1
e1f1be8b7 is described below
commit e1f1be8b7a61c8375cc2539934b35e8c02946ae2
Author: JoaoDuque92 <[email protected]>
AuthorDate: Mon Jun 19 18:36:56 2023 +0100
Update entity.py remove_classification method
There was a typo in the remove_classification method where it was written
format instead of format
---
intg/src/main/python/apache_atlas/client/entity.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/intg/src/main/python/apache_atlas/client/entity.py
b/intg/src/main/python/apache_atlas/client/entity.py
index 14cb4ed60..d28dc41fe 100644
--- a/intg/src/main/python/apache_atlas/client/entity.py
+++ b/intg/src/main/python/apache_atlas/client/entity.py
@@ -244,7 +244,7 @@ class EntityClient:
def remove_classification(self, entity_guid, classification_name,
associated_entity_guid):
query = {'guid': entity_guid, 'classification_name':
classification_name}
-
self.client.call_api(EntityClient.DELETE_CLASSIFICATION.formart_path(query),
None, None, associated_entity_guid)
+
self.client.call_api(EntityClient.DELETE_CLASSIFICATION.format_path(query),
None, None, associated_entity_guid)
def remove_classification_by_name(self, type_name, uniq_attributes,
classification_name):
query_params = attributes_to_params(uniq_attributes)