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

Method factory

stix/bindings/report.py:230–234  ·  view source on GitHub ↗
(*args_, **kwargs_)

Source from the content-addressed store, hash-verified

228 self.TTP = TTP
229 self.Kill_Chains = Kill_Chains
230 def factory(*args_, **kwargs_):
231 if TTPsType.subclass:
232 return TTPsType.subclass(*args_, **kwargs_)
233 else:
234 return TTPsType(*args_, **kwargs_)
235 factory = staticmethod(factory)
236 def get_TTP(self): return self.TTP
237 def set_TTP(self, TTP): self.TTP = TTP

Callers 10

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
parseStringFunction · 0.45

Calls 1

TTPsTypeClass · 0.70

Tested by

no test coverage detected