MCPcopy Index your code
hub / github.com/plotly/dash / _msg

Function _msg

tests/unit/mcp/test_mcp_server.py:15–18  ·  view source on GitHub ↗
(method, params=None, request_id=1)

Source from the content-addressed store, hash-verified

13
14
15def _msg(method, params=None, request_id=1):
16 d = {"jsonrpc": "2.0", "method": method, "id": request_id}
17 d["params"] = params if params is not None else {}
18 return d
19
20
21def _mcp(app, method, params=None, request_id=1):

Callers 1

_mcpFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…