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

Method get_method_schema

ci/rpc_schema_validator.py:185–193  ·  view source on GitHub ↗

Get schema for a specific method

(self, method: str)

Source from the content-addressed store, hash-verified

183 )
184
185 def get_method_schema(self, method: str) -> MethodInfo:
186 """Get schema for a specific method"""
187 if not self.schema:
188 raise RuntimeError("Schema not loaded")
189
190 if method not in self.schema.methods:
191 raise KeyError(f"Method '{method}' not found")
192
193 return self.schema.methods[method]
194
195 def list_methods(self) -> list[str]:
196 """List all available RPC methods"""

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected