MCPcopy Index your code
hub / github.com/rawpython/remi / search_app_instance

Method search_app_instance

editor/widgets/toolbox_opencv.py:82–87  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

80 self.on_new_image()
81
82 def search_app_instance(self, node):
83 if issubclass(node.__class__, remi.server.App):
84 return node
85 if not hasattr(node, "get_parent"):
86 return None
87 return self.search_app_instance(node.get_parent())
88
89 def update(self, *args):
90 if self.app_instance==None:

Callers 1

updateMethod · 0.95

Calls 1

get_parentMethod · 0.80

Tested by

no test coverage detected