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

Method add_short_description

stix/ttp/exploit.py:82–87  ·  view source on GitHub ↗

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

(self, description)

Source from the content-addressed store, hash-verified

80 self.short_descriptions = value
81
82 def add_short_description(self, description):
83 """Adds a description to the ``short_descriptions`` collection.
84
85 This is the same as calling "foo.short_descriptions.add(bar)".
86 """
87 self.short_descriptions.add(description)

Calls 1

addMethod · 0.45