MCPcopy Create free account
hub / github.com/bugy/script-server / __init__

Method __init__

src/communications/destination_script.py:39–42  ·  view source on GitHub ↗
(self, params_dict, process_invoker: ProcessInvoker)

Source from the content-addressed store, hash-verified

37
38class ScriptCommunicator:
39 def __init__(self, params_dict, process_invoker: ProcessInvoker):
40 command_config = read_obligatory(params_dict, 'command', ' for Script callback')
41 self.command = process_utils.split_command(command_config)
42 self._process_invoker = process_invoker
43
44 def send(self, parameters, environment_variables=None):
45 full_command = self.command + parameters

Callers

nothing calls this directly

Calls 1

read_obligatoryFunction · 0.90

Tested by

no test coverage detected