MCPcopy Index your code
hub / github.com/fabioz/PyDev.Debugger / put

Method put

tests_python/test_fixtures.py:29–36  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

27 return self._sock_for_reader_thread.recv(*args, **kwargs)
28
29 def put(self, msg):
30 if not isinstance(msg, bytes):
31 msg = msg.encode("utf-8")
32
33 if self._sock_for_fixture_test is None:
34 self._sock_for_fixture_test = start_client(*self._socket_server.getsockname())
35
36 self._sock_for_fixture_test.sendall(msg)
37
38 def close(self):
39 self._socket_server.close()

Callers 15

start_console_serverFunction · 0.80
post_internal_commandMethod · 0.80
_do_wait_suspendMethod · 0.80
_get_jy_dictionaryMethod · 0.80
add_commandMethod · 0.80
runMethod · 0.80

Calls 1

start_clientFunction · 0.90

Tested by

no test coverage detected