MCPcopy Create free account
hub / github.com/ElementsProject/lightning / report

Function report

tests/plugins/dynamic_multi_option.py:10–12  ·  view source on GitHub ↗

Report current values for the dynamic multi option.

(plugin)

Source from the content-addressed store, hash-verified

8
9@plugin.method('dynamic-multi-report')
10def report(plugin):
11 """Report current values for the dynamic multi option."""
12 return {'test-multi-dynamic': plugin.get_option('test-multi-dynamic')}
13
14
15def on_config_change(plugin, config: str, value: Optional[Any]) -> None:

Callers

nothing calls this directly

Calls 1

get_optionMethod · 0.80

Tested by

no test coverage detected