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 009b3a2 commit a920a49Copy full SHA for a920a49
odml/validation.py
@@ -139,7 +139,7 @@ def object_required_attributes(obj):
139
obj_arg = getattr(obj, arg[0])
140
if not obj_arg and not isinstance(obj_arg, bool):
141
msg = "%s %s undefined" % (obj.format().name.capitalize(), arg[0])
142
- yield ValidationError(obj, msg, LABEL_WARNING)
+ yield ValidationError(obj, msg, LABEL_ERROR)
143
144
145
Validation.register_handler('odML', object_required_attributes)
0 commit comments