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

Method isMatch

python/tutorial/MyGNode/MyMatchNode.py:24–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 return CStatus()
23
24 def isMatch(self):
25 param: MyParam = self.getGParamWithNoEmpty('param1')
26 result = 0 != param.count % 2
27 if result:
28 print(' match, ready to run {0}'.format(self.getName()))
29 else:
30 print(' not match, will not run {0}'.format(self.getName()))
31 return result

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected