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

Method factory

stix/bindings/ttp.py:1291–1295  ·  view source on GitHub ↗
(*args_, **kwargs_)

Source from the content-addressed store, hash-verified

1289 self.Handling = Handling
1290 self.Related_Packages = Related_Packages
1291 def factory(*args_, **kwargs_):
1292 if TTPType.subclass:
1293 return TTPType.subclass(*args_, **kwargs_)
1294 else:
1295 return TTPType(*args_, **kwargs_)
1296 factory = staticmethod(factory)
1297 def get_Title(self): return self.Title
1298 def set_Title(self, Title): self.Title = Title

Callers 15

buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45

Calls 1

TTPTypeClass · 0.85

Tested by

no test coverage detected