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

Method add_description

stix/ttp/exploit.py:53–58  ·  view source on GitHub ↗

Adds a description to the ``descriptions`` collection. This is the same as calling "foo.descriptions.add(bar)".

(self, description)

Source from the content-addressed store, hash-verified

51 self.descriptions = value
52
53 def add_description(self, description):
54 """Adds a description to the ``descriptions`` collection.
55
56 This is the same as calling "foo.descriptions.add(bar)".
57 """
58 self.descriptions.add(description)
59
60 @property
61 def short_description(self):

Callers 7

test_add_descriptionMethod · 0.45
test_add_descriptionMethod · 0.45
test_add_descriptionMethod · 0.45
test_add_descriptionMethod · 0.45
test_add_descriptionMethod · 0.45
test_add_descriptionMethod · 0.45
test_add_descriptionMethod · 0.45

Calls 1

addMethod · 0.45

Tested by 7

test_add_descriptionMethod · 0.36
test_add_descriptionMethod · 0.36
test_add_descriptionMethod · 0.36
test_add_descriptionMethod · 0.36
test_add_descriptionMethod · 0.36
test_add_descriptionMethod · 0.36
test_add_descriptionMethod · 0.36