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

Method search_app_instance

editor/widgets/toolbox_EPICS.py:59–64  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

57 return (pvname, value, kwargs)
58
59 def search_app_instance(self, node):
60 if issubclass(node.__class__, remi.server.App):
61 return node
62 if not hasattr(node, "get_parent"):
63 return None
64 return self.search_app_instance(node.get_parent())
65
66 def get_app_instance(self):
67 if self.app_instance==None:

Callers 1

get_app_instanceMethod · 0.95

Calls 1

get_parentMethod · 0.80

Tested by

no test coverage detected