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

Method disable

app/plugins/plugin_base.py:70–79  ·  view source on GitHub ↗

Should be overriden by plugins to perform cleanup or other persistent tasks to restore the system to pre-enabled state (e.g., removing hooks, deleting temporary data, or restoring system state). Called once each time a plugin is disabled. If this method fails to comp

(self)

Source from the content-addressed store, hash-verified

68 pass
69
70 def disable(self):
71 """
72 Should be overriden by plugins to perform cleanup or other persistent tasks
73 to restore the system to pre-enabled state (e.g., removing hooks, deleting
74 temporary data, or restoring system state). Called once each time a plugin
75 is disabled. If this method fails to complete or throws an exception, it will
76 still be disabled by the system.
77 :return: none
78 """
79 pass
80
81 def get_persistent_path(self, *paths):
82 return get_plugins_persistent_path(self.name, *paths)

Callers 1

disable_pluginFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected