MCPcopy Index your code
hub / github.com/WebODM/WebODM / enable

Method enable

app/plugins/plugin_base.py:60–68  ·  view source on GitHub ↗

Should be overriden by plugins to perform persistent setup and configuration (e.g., registering static files, initializing databse entries, or hooking into WebODM’s functionality). Called once, each time a plugin is enabled. If this method throws an exception, it wil

(self)

Source from the content-addressed store, hash-verified

58 logger.warning("Failed to install requirements.txt for {}".format(self))
59
60 def enable(self):
61 """
62 Should be overriden by plugins to perform persistent setup and configuration
63 (e.g., registering static files, initializing databse entries, or hooking
64 into WebODM’s functionality). Called once, each time a plugin is enabled. If
65 this method throws an exception, it will not be enabled by the system.
66 :return: none
67 """
68 pass
69
70 def disable(self):
71 """

Callers 1

enable_pluginFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected