List all available RPC methods
(self)
| 193 | return self.schema.methods[method] |
| 194 | |
| 195 | def list_methods(self) -> list[str]: |
| 196 | """List all available RPC methods""" |
| 197 | if not self.schema: |
| 198 | raise RuntimeError("Schema not loaded") |
| 199 | |
| 200 | return list(self.schema.methods.keys()) |
| 201 | |
| 202 | |
| 203 | def main(): |