MCPcopy
hub / github.com/lutzroeder/netron / find_class

Method find_class

source/python.js:4297–4300  ·  view source on GitHub ↗
(module, name)

Source from the content-addressed store, hash-verified

4295 throw new python.Error('Unexpected end of file.');
4296 }
4297 find_class(module, name) {
4298 execution.__import__(module);
4299 return execution.resolve(`${module}.${name}`);
4300 }
4301 _instantiate(cls, args) {
4302 return execution.invoke(cls, args);
4303 }

Callers 2

loadMethod · 0.45
find_classMethod · 0.45

Calls 2

__import__Method · 0.80
resolveMethod · 0.45

Tested by

no test coverage detected