Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/lutzroeder/netron
/ hasattr
Method
hasattr
source/python.js:16502–16504 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
16500
return
this._ivalue[name];
16501
}
16502
hasattr(name) {
16503
return
this._typ.hasAttribute(name) || this._typ.hasConstant(name);
16504
}
16505
getattr(name) {
16506
return
this.__getattr__(name);
16507
}
Callers
8
constructor
Method · 0.80
trace
Method · 0.80
map_aggregate
Method · 0.80
LEGACY_convertModule
Method · 0.80
__setattr__
Method · 0.80
__getattr__
Method · 0.80
deserialize_node
Method · 0.80
deserialize_meta_func
Method · 0.80
Calls
2
hasConstant
Method · 0.80
hasAttribute
Method · 0.45
Tested by
no test coverage detected