MCPcopy Index your code
hub / github.com/pyload/pyload / loadClass

Method loadClass

module/plugins/PluginManager.py:312–315  ·  view source on GitHub ↗

Returns the class of a plugin with the same name

(self, type, name)

Source from the content-addressed store, hash-verified

310 self.log.debug("Available plugins : %s" % str(plugins))
311
312 def loadClass(self, type, name):
313 """Returns the class of a plugin with the same name"""
314 module = self.loadModule(type, name)
315 if module: return getattr(module, name)
316
317 def getAccountPlugins(self):
318 """return list of account plugin names"""

Callers 8

createIndexMethod · 0.80
activateHookMethod · 0.80
getAccountPluginMethod · 0.80
decryptCaptchaMethod · 0.80
setup_baseMethod · 0.80
decrypt_imageMethod · 0.80
init_pluginMethod · 0.80
get_patternMethod · 0.80

Calls 1

loadModuleMethod · 0.95

Tested by

no test coverage detected