module lineage_mixin
Mixin class containing Lineage specific methods
To be used by OpenMetadata class
Global Variables
- LINEAGE_PARSING_TIMEOUT
class OMetaLineageMixin
OpenMetadata API methods related to Lineage.
To be inherited by OpenMetadata
method add_lineage
Add lineage relationship between two entities and returns the entity information of the origin node
method add_lineage_by_query
Method parses the query and generated the lineage between source and target tables
method delete_lineage_edge
Remove the given Edge
method get_lineage_by_id
Get lineage details for an entity id
Args:
entity
: Type of the entity
entity_id
: Entity ID
up_depth
: Upstream depth of lineage (default=1, min=0, max=3)"
down_depth
: Downstream depth of lineage (default=1, min=0, max=3)
method get_lineage_by_name
Get lineage details for an entity id
Args:
entity
: Type of the entity
fqn
: Entity FQN
up_depth
: Upstream depth of lineage (default=1, min=0, max=3)"
down_depth
: Downstream depth of lineage (default=1, min=0, max=3)