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 e639507 commit 25899adCopy full SHA for 25899ad
cybox/common/vocabs.py
@@ -108,6 +108,7 @@ def from_dict(cls, vocab_dict):
108
if not isinstance(vocab_dict, dict):
109
vocab_str.value = vocab_dict
110
else:
111
+ vocab_str.xsi_type = vocab_dict.get('xsi:type')
112
vocab_str.value = vocab_dict.get('value')
113
vocab_str.vocab_name = vocab_dict.get('vocab_name')
114
vocab_str.vocab_reference = vocab_dict.get('vocab_reference')
0 commit comments