We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa8c95b commit d2d7161Copy full SHA for d2d7161
stix2/v21/common.py
@@ -77,7 +77,7 @@ class GranularMarking(_STIXBase21):
77
def _check_object_constraints(self):
78
super(GranularMarking, self)._check_object_constraints()
79
self._check_at_least_one_property(['lang', 'marking_ref'])
80
-
+ self._check_mutually_exclusive_properties(['lang', 'marking_ref'])
81
82
class LanguageContent(_STIXBase21):
83
"""For more detailed information on this object's properties, see
0 commit comments