pyapacheatlas.core.client.PurviewClient.get_entity_next_lineage#

PurviewClient.get_entity_next_lineage(guid, direction, getDerivedLineage=False, offset=0, limit=- 1)#

Returns immediate next level lineage info about entity with pagination

See also: https://docs.microsoft.com/en-us/rest/api/purview/catalogdataplane/lineage

Parameters
  • guid (str) – The guid of the entity for which you want to retrieve lineage.

  • direction (str) – The direction of the lineage, which could be INPUT or OUTPUT.

  • getDerivedLineage (bool) – True to include derived lineage in the response

  • offset (int) – The offset for pagination purpose.

  • limit (int) – The page size - by default there is no paging.

Returns

A dict representing AtlasLineageInfo with an array of parentRelations and an array of relations

Return type

dict(str, dict)