Skip to content

Commit

Permalink
Docs: Adding Import Entity Reference (#18854)
Browse files Browse the repository at this point in the history
Co-authored-by: Rounak Dhillon <rounakdhillon@Rounaks-MacBook-Air.local>
  • Loading branch information
RounakDhillon and Rounak Dhillon authored Nov 29, 2024
1 parent 3453c79 commit 04dfbc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ With everything prepared, we can now create the Lineage between both Entities. A
represents the edge between two Entities, typed under `EntitiesEdge`.

```python
from metadata.generated.schema.type.entityReference import EntityReference
from metadata.generated.schema.api.lineage.addLineage import AddLineageRequest
from metadata.generated.schema.type.entityLineage import EntitiesEdge

Expand Down Expand Up @@ -346,6 +347,7 @@ To prepare this example, we need to start by creating the Pipeline Entity. Again
to prepare the Pipeline Service:

```python
from metadata.generated.schema.type.entityReference import EntityReference
from metadata.generated.schema.api.data.createPipeline import CreatePipelineRequest
from metadata.generated.schema.api.services.createPipelineService import (
CreatePipelineServiceRequest,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ With everything prepared, we can now create the Lineage between both Entities. A
represents the edge between two Entities, typed under `EntitiesEdge`.

```python
from metadata.generated.schema.type.entityReference import EntityReference
from metadata.generated.schema.api.lineage.addLineage import AddLineageRequest
from metadata.generated.schema.type.entityLineage import EntitiesEdge

Expand Down Expand Up @@ -346,6 +347,7 @@ To prepare this example, we need to start by creating the Pipeline Entity. Again
to prepare the Pipeline Service:

```python
from metadata.generated.schema.type.entityReference import EntityReference
from metadata.generated.schema.api.data.createPipeline import CreatePipelineRequest
from metadata.generated.schema.api.services.createPipelineService import (
CreatePipelineServiceRequest,
Expand Down

0 comments on commit 04dfbc2

Please sign in to comment.