MCPcopy Create free account
hub / github.com/argotorg/solidity / call_method

Method call_method

test/lsp.py:242–246  ·  view source on GitHub ↗
(self, method_name: str, params: Optional[dict], expects_response: bool = True)

Source from the content-addressed store, hash-verified

240 self.process.stdin.flush()
241
242 def call_method(self, method_name: str, params: Optional[dict], expects_response: bool = True) -> Any:
243 self.send_message(method_name, params)
244 if not expects_response:
245 return None
246 return self.receive_message()
247
248 def send_notification(self, name: str, params: Optional[dict] = None) -> None:
249 self.send_message(name, params)

Callers 3

run_testcaseMethod · 0.80
setup_lspMethod · 0.80

Calls 2

send_messageMethod · 0.95
receive_messageMethod · 0.95

Tested by

no test coverage detected