MCPcopy Index your code
hub / github.com/lutzroeder/netron / __getattr__

Method __getattr__

source/python.js:6048–6053  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

6046 }
6047 }
6048 __getattr__(name) {
6049 if (this._modules.has(name)) {
6050 return this._modules.get(name);
6051 }
6052 return this[name];
6053 }
6054 __delattr__(name) {
6055 if (this._modules.has(name)) {
6056 this._modules.delete(name);

Callers 8

constructorMethod · 0.80
getattrMethod · 0.80
itemsMethod · 0.80
targetMethod · 0.80
getattrMethod · 0.80
constructorMethod · 0.80
callMethod · 0.80
weightsMethod · 0.80

Calls 8

_get_packetMethod · 0.80
hasattrMethod · 0.80
_has_methodMethod · 0.80
hasMethod · 0.45
getMethod · 0.45
pushMethod · 0.45
getattrMethod · 0.45

Tested by

no test coverage detected