MCPcopy Create free account
hub / github.com/Image-Py/imagepy / ok

Method ok

imagepy/core/engine/table.py:56–63  ·  view source on GitHub ↗
(self, tps, para=None, callafter=None)

Source from the content-addressed store, hash-verified

54 tps.update()
55
56 def ok(self, tps, para=None, callafter=None):
57 if para == None: para = self.para
58 if self.asyn and IPy.uimode() != 'no':
59 threading.Thread(target = self.runasyn,
60 args = (tps, tps.data, tps.snap, para, callafter)).start()
61 else: self.runasyn(tps, tps.data, tps.snap, para, callafter)
62 win = WidgetsManager.getref('Macros Recorder')
63 if win!=None: win.write('{}>{}'.format(self.title, para))
64
65 def runasyn(self, tps, snap, data, para = None, callback = None):
66 TaskManager.add(self)

Callers 2

showMethod · 0.95
startMethod · 0.95

Calls 4

runasynMethod · 0.95
getrefMethod · 0.80
startMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected