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

Method __setitem__

source/python.js:35–37  ·  view source on GitHub ↗
(key, value)

Source from the content-addressed store, hash-verified

33 return this.has(key);
34 }
35 __setitem__(key, value) {
36 this.set(key, value);
37 }
38 __getitem__(key) {
39 if (!super.has(key)) {
40 throw new python.Error(`KeyError: ${key}`);

Callers 4

constructorMethod · 0.80
__setstate__Method · 0.80
loadMethod · 0.80
map_aggregateMethod · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected