Skip to content

How to update Expert information using pyapacheatlas.core.client.PurviewClient.partial_update_entity() for an already existing entity  #283

@laknath123

Description

@laknath123

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    purview questionA question more about Purview and less about PyApacheAtlas

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions