Fixed entity req left check (#14341)

This commit is contained in:
Onkar Ravgan 2023-12-12 10:57:09 +05:30 committed by GitHub
parent c156e01e34
commit 7f6311ec4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -426,7 +426,7 @@ class TopologyRunnerMixin(Generic[C]):
# 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: