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

Method getMethod

source/python.js:10502–10508  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

10500 return null;
10501 }
10502 getMethod(name) {
10503 const method = this.findMethod(name);
10504 if (!method) {
10505 throw new python.Error(`Method '${name}' not found on class '${this.str()}.`);
10506 }
10507 return method;
10508 }
10509 methods() {
10510 return this._methods;
10511 }

Callers 3

callMethod · 0.80
constructorMethod · 0.80
graphMethod · 0.80

Calls 2

findMethodMethod · 0.80
strMethod · 0.45

Tested by

no test coverage detected