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

Method get

ci/rpc_client.py:64–66  ·  view source on GitHub ↗

Get value from response data.

(self, key: str, default: Any = None)

Source from the content-addressed store, hash-verified

62 _id: int = 0 # Internal: Request ID from JSON-RPC 2.0 (always present, hidden from public API)
63
64 def get(self, key: str, default: Any = None) -> Any:
65 """Get value from response data."""
66 return self.data.get(key, default)
67
68 def __getitem__(self, key: str) -> Any:
69 """Allow dict-like access to response data."""

Callers 2

send_and_matchMethod · 0.45
_wait_for_responseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected