MCPcopy Create free account
hub / github.com/MemTensor/MemOS / handler

Method handler

tests/plugins/test_plugin_demo.py:230–231  ·  view source on GitHub ↗
(*, value, **kwargs)

Source from the content-addressed store, hash-verified

228 define_hook("test.single", description="single", params=["value"])
229
230 def handler(*, value, **kwargs):
231 return value + 1
232
233 register_hook("test.single", handler)
234

Callers 10

runSearchTestsFunction · 0.80
runDedupChecksFunction · 0.80
runSummaryChecksFunction · 0.80
runTopicChecksFunction · 0.80
mainFunction · 0.80
policy.test.tsFile · 0.80
accuracy.test.tsFile · 0.80
dispatchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected