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

Method search_app_instance

editor/widgets/toolbox_siemens.py:157–162  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

155 self.snap7_client.destroy()
156
157 def search_app_instance(self, node):
158 if issubclass(node.__class__, remi.server.App):
159 return node
160 if not hasattr(node, "get_parent"):
161 return None
162 return self.search_app_instance(node.get_parent())
163
164 def check_connection_state(self):
165 _con = self.snap7_client.get_connected()

Callers 1

Calls 1

get_parentMethod · 0.80

Tested by

no test coverage detected