MCPcopy Create free account
hub / github.com/FastLED/FastLED / format_json_rpc_command

Function format_json_rpc_command

ci/util/json_rpc_handler.py:167–176  ·  view source on GitHub ↗

Format a JSON-RPC command for transmission. Args: command: JSON-RPC command object Returns: JSON string representation (single line, compact)

(command: dict[str, Any])

Source from the content-addressed store, hash-verified

165
166
167def format_json_rpc_command(command: dict[str, Any]) -> str:
168 """Format a JSON-RPC command for transmission.
169
170 Args:
171 command: JSON-RPC command object
172
173 Returns:
174 JSON string representation (single line, compact)
175 """
176 return json.dumps(command, separators=(",", ":"))

Callers 1

run_monitorFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected