We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67f7e72 commit 76c933eCopy full SHA for 76c933e
pydra/engine/helpers.py
@@ -482,7 +482,7 @@ def _check_special_type(tp, name):
482
def _allowed_values_validator(instance, attribute, value):
483
"""checking if the values is in allowed_values"""
484
allowed = attribute.metadata["allowed_values"]
485
- if value is attr.NOTHING:
+ if value is attr.NOTHING or isinstance(value, LazyField):
486
pass
487
elif value not in allowed:
488
raise ValueError(
0 commit comments