pyapacheatlas.core.client.PurviewClient.get_single_entity#
- PurviewClient.get_single_entity(guid=None, ignoreRelationships=False, minExtInfo=False)#
Retrieve one entity based on guid from your Atlas backed Data Catalog.
Returns a dictionary with keys “referredEntities” and “entity”. You’ll want to grab the entity value which is a single dictionary.
- Parameters
guid (str) – The guid you want to retrieve.
ignoreRelationships (bool) – Exclude the relationship information from the response.
minExtInfo (bool) – Exclude the extra information from the response.
- Returns
An AtlasEntityWithExtInfo object which includes “referredEntities” and “entity” keys.
- Return type
dict(str, Union(list(dict),dict))