pyapacheatlas
pyapacheatlas copied to clipboard
How to update Expert information using pyapacheatlas.core.client.PurviewClient.partial_update_entity() for an already existing entity
I am trying to update the Expert information for an already existing azure_sql_dw_table entity using
pyapacheatlas.core.client.PurviewClient.partial_update_entity()
and while I can do this for something that is not nested using something like the following
client.partial_update_entity(guid="xxxxxxxx",typeName="azure_sql_dw_table", attributes={"description": "testsestsestr"})
It seems that this is not possible for updating the Expert attribute using this function.
This is what I have tried so far
client.partial_update_entity(guid="xxxxxxxxx",
typeName=None,
attributes= {'contacts': {'Expert': [{'id': 'xxxxxxxxxxx'}]}})
I get the following error Attribute contacts not found for type azure_sql_table
- OS: [Windows]
- PyApacheAtlas Version - 0.16.0