MCPcopy Create free account
hub / github.com/canopy-network/canopy / start_plugin

Function start_plugin

plugin/python/contract/plugin.py:377–385  ·  view source on GitHub ↗

Start the plugin (matching Go's StartPlugin). Creates and starts a plugin that connects to the FSM socket.

(config: Config)

Source from the content-addressed store, hash-verified

375
376
377async def start_plugin(config: Config) -> Plugin:
378 """
379 Start the plugin (matching Go's StartPlugin).
380
381 Creates and starts a plugin that connects to the FSM socket.
382 """
383 plugin = Plugin(config)
384 await plugin.start()
385 return plugin

Callers 1

mainFunction · 0.90

Calls 2

startMethod · 0.95
PluginClass · 0.70

Tested by

no test coverage detected