we can force mandatory to False
This commit is contained in:
@ -73,7 +73,7 @@ class ValueAnnotator(Walk): # pylint: disable=R0903
|
||||
if value.type == 'calculation':
|
||||
has_value = False
|
||||
break
|
||||
if has_value:
|
||||
if has_value and 'mandatory' not in vars(variable):
|
||||
# if has value without any calculation
|
||||
variable.mandatory = True
|
||||
if not hasattr(variable, 'value'):
|
||||
|
Reference in New Issue
Block a user