pyapacheatlas.core.client.PurviewClient.delete_businessMetadata#

PurviewClient.delete_businessMetadata(guid, businessMetadata, force_update=True)#

Delete one or many business attributes based on the guid. Provide a businessMetadata dictionary that has a key for the businessmetadata type def name and the value is a dictionary with keys of each attribute you want to remove. The values inside the nested dict should be an empty string (‘’).

If I have a business metadata typedef of ‘operations`, with attributes ‘expenseCode’ and ‘criticality’ and I want to delete criticality, my businessMetadata might be:

{
    'operations': {
        'criticality': ''
    }
}
Parameters
  • guid (str) – The guid for the entity that you want to remove business metadata.

  • businessMetadata (dict(str, dict)) – The business metadata you want to delete with key of the businessMetadata type def and value of a dictionary with keys for each attribute you want removed and value is an empty string.

  • force_update (bool) – Defaults to True.

Returns

A dictionary indicating success. Failure will raise an AtlasException.

Return type

dict