Madhan Neethiraj created ATLAS-4927:
---------------------------------------
Summary: Python: EntityClient.get_classifications(guid) fails with
error "type object 'Plist' has no attribute 'list'"
Key: ATLAS-4927
URL: https://issues.apache.org/jira/browse/ATLAS-4927
Project: Atlas
Issue Type: Bug
Components: atlas-intg
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj
{code:python}
atlas = AtlasClient(atlas_url, atlas_auth)
classifications = atlas.entity.get_classifications('1234-5678-90ab-cdef')
{code}
{code:python}
Exception occurred while parsing response
Traceback (most recent call last):
File "\Lib\site-packages\apache_atlas\client\base_client.py", line 95, in
call_api
return type_coerce(response.json(), response_type)
File "\Lib\site-packages\apache_atlas\utils.py", line 74, in type_coerce
ret.type_coerce_attrs()
~~~~~~~~~~~~~~~~~~~~~^^
File "\Lib\site-packages\apache_atlas\model\instance.py", line 236, in
type_coerce_attrs
Plist.list = type_coerce_list(Plist.list, AtlasClassification)
^^^^^^^^^^
AttributeError: type object 'Plist' has no attribute 'list'
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)