MCPcopy Create free account
hub / github.com/SySS-Research/hallucinate / __init__

Method __init__

hallucinate/handler.py:60–65  ·  view source on GitHub ↗
(self, script, handler, extensions=None)

Source from the content-addressed store, hash-verified

58
59class ScriptHandler(RequestHandler):
60 def __init__(self, script, handler, extensions=None):
61 super(ScriptHandler, self).__init__(handler)
62 if extensions is None:
63 extensions = {}
64 self.script = script
65 self.extensions = extensions
66
67 def handle(self, m, data):
68 if m['type'] == 'error':

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected