Skip to content

Commit 75a2983

Browse files
committed
fixed check for missing fields
1 parent 35c1594 commit 75a2983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydra/engine/specs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ def _check_rules(self):
509509

510510
# Raise error if any required field is unset.
511511
if (
512-
value
512+
(value is None or value is False)
513513
and field.requires
514514
and not any(rs.satisfied(self) for rs in field.requires)
515515
):

0 commit comments

Comments
 (0)