ObjectLineage

class oci.data_catalog.models.ObjectLineage(**kwargs)

Bases: object

Lineage for an object.

Attributes

DIRECTION_BOTH A constant which can be used with the direction property of a ObjectLineage.
DIRECTION_DOWNSTREAM A constant which can be used with the direction property of a ObjectLineage.
DIRECTION_UPSTREAM A constant which can be used with the direction property of a ObjectLineage.
annotations Gets the annotations of this ObjectLineage.
direction [Required] Gets the direction of this ObjectLineage.
level [Required] Gets the level of this ObjectLineage.
objects Gets the objects of this ObjectLineage.
relationships Gets the relationships of this ObjectLineage.

Methods

__init__(**kwargs) Initializes a new ObjectLineage object with values from keyword arguments.
DIRECTION_BOTH = 'BOTH'

A constant which can be used with the direction property of a ObjectLineage. This constant has a value of “BOTH”

DIRECTION_DOWNSTREAM = 'DOWNSTREAM'

A constant which can be used with the direction property of a ObjectLineage. This constant has a value of “DOWNSTREAM”

DIRECTION_UPSTREAM = 'UPSTREAM'

A constant which can be used with the direction property of a ObjectLineage. This constant has a value of “UPSTREAM”

__init__(**kwargs)

Initializes a new ObjectLineage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • level (int) – The value to assign to the level property of this ObjectLineage.
  • direction (str) – The value to assign to the direction property of this ObjectLineage. Allowed values for this property are: “UPSTREAM”, “BOTH”, “DOWNSTREAM”
  • objects (list[oci.data_catalog.models.LineageObject]) – The value to assign to the objects property of this ObjectLineage.
  • relationships (list[oci.data_catalog.models.LineageRelationship]) – The value to assign to the relationships property of this ObjectLineage.
  • annotations (dict(str, dict(str, str))) – The value to assign to the annotations property of this ObjectLineage.
annotations

Gets the annotations of this ObjectLineage. A map of maps that contains additional information in explanation of the lineage returned. The map keys are categories of information and the values are maps of annotation names to their corresponding values. Every annotation is contained inside a category. Example: {“annotations”: { “category”: { “key”: “value”}}}

Returns:The annotations of this ObjectLineage.
Return type:dict(str, dict(str, str))
direction

[Required] Gets the direction of this ObjectLineage. Direction of the lineage returned.

Allowed values for this property are: “UPSTREAM”, “BOTH”, “DOWNSTREAM”

Returns:The direction of this ObjectLineage.
Return type:str
level

[Required] Gets the level of this ObjectLineage. Object level at which the lineage is returned.

Returns:The level of this ObjectLineage.
Return type:int
objects

Gets the objects of this ObjectLineage. Set of objects that are involved in the lineage.

Returns:The objects of this ObjectLineage.
Return type:list[oci.data_catalog.models.LineageObject]
relationships

Gets the relationships of this ObjectLineage. Set of relationships between the objects in the ‘objects’ set.

Returns:The relationships of this ObjectLineage.
Return type:list[oci.data_catalog.models.LineageRelationship]