MCPcopy
hub / github.com/apache/caldera / _load_module

Method _load_module

app/objects/c_plugin.py:87–91  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

85 logging.error('Error expanding plugin=%s, %s' % (self.name, e))
86
87 def _load_module(self):
88 try:
89 return import_module('plugins.%s.hook' % self.name)
90 except Exception as e:
91 logging.error('Error importing plugin=%s, %s' % (self.name, e))

Callers 4

load_pluginMethod · 0.95
enableMethod · 0.95
destroyMethod · 0.95
expandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected