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

Function init

tests/plugins/options.py:12–14  ·  view source on GitHub ↗
(configuration, options, plugin)

Source from the content-addressed store, hash-verified

10
11@plugin.init()
12def init(configuration, options, plugin):
13 for name, val in options.items():
14 plugin.log("option {} {} {}".format(name, val, type(val)))
15
16
17plugin.add_option('str_opt', 'i am a string', 'an example string option')

Callers

nothing calls this directly

Calls 1

logMethod · 0.80

Tested by

no test coverage detected