mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-25 08:50:18 +00:00
fixed either in lineage req (#13088)
This commit is contained in:
parent
80c11ab4f5
commit
9af14a5a1c
@ -606,7 +606,8 @@ class DbtSource(DbtServiceSource):
|
||||
entity_list=from_es_result, fetch_multiple_entities=False
|
||||
)
|
||||
if from_entity and to_entity:
|
||||
yield AddLineageRequest(
|
||||
yield Either(
|
||||
right=AddLineageRequest(
|
||||
edge=EntitiesEdge(
|
||||
fromEntity=EntityReference(
|
||||
id=from_entity.id.__root__,
|
||||
@ -621,6 +622,7 @@ class DbtSource(DbtServiceSource):
|
||||
),
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
except Exception as exc: # pylint: disable=broad-except
|
||||
logger.debug(traceback.format_exc())
|
||||
|
Loading…
x
Reference in New Issue
Block a user