MCPcopy Create free account
hub / github.com/STIXProject/python-stix / Effects

Class Effects

stix/incident/impact_assessment.py:38–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37
38class Effects(stix.EntityList):
39 _namespace = "http://docs.oasis-open.org/cti/ns/stix/incident-1"
40 _binding = incident_binding
41 _binding_class = _binding.EffectsType
42
43 effects = VocabField("Effect", VocabString, multiple=True, key_name="effects")
44
45 @classmethod
46 def _dict_as_list(cls):
47 return True
48
49 def _fix_value(self, value):
50 return vocabs.IncidentEffect(value=value)

Callers

nothing calls this directly

Calls 1

VocabFieldClass · 0.90

Tested by

no test coverage detected