MCPcopy Create free account
hub / github.com/ChunelFeng/CGraph / init

Method init

python/tutorial/MyGNode/MyNode2.py:15–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13
14class MyNode2(GNode):
15 def init(self):
16 print("[INIT] [{0}], enter MyNode2 init function.".format(self.getName()))
17 return CStatus()
18
19 def run(self):
20 print("[{0}] {1}, enter MyNode2 run function. Sleep for 2 second ... ".format(datetime.now(), self.getName()))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected