Skip to content

Commit

Permalink
Fixed entity req left check (open-metadata#14341)
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarVO7 authored and Shiyang Xiao committed Dec 12, 2023
1 parent 28be7a4 commit 41c0751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ingestion/src/metadata/ingestion/api/topology_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def sink_request(
# Either use the received request or the acknowledged Entity
entity = entity_request.right if entity_request else None

if not stage.nullable and entity is None:
if not stage.nullable and entity is None and entity_request.left is None:
raise ValueError("Value unexpectedly None")

if entity_request is not None:
Expand Down

0 comments on commit 41c0751

Please sign in to comment.