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

Method pop

source/python.js:58–65  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

56 return value;
57 }
58 pop(key) {
59 if (this.__contains__(key)) {
60 const v = this.__getitem__(key);
61 this.__delitem__(key);
62 return v;
63 }
64 return null;
65 }
66 items() {
67 return Array.from(this);
68 }

Callers 15

_parseExpressionMethod · 0.45
_tokenizeMethod · 0.45
LoadModelFromStringMethod · 0.45
__setstate__Method · 0.45
loadMethod · 0.45
constructorMethod · 0.45
__update_args_kwargsMethod · 0.45
constructorMethod · 0.45
LEGACY_convertModuleMethod · 0.45
popFrameMethod · 0.45
emitWithMethod · 0.45
__exit__Method · 0.45

Calls 3

__contains__Method · 0.80
__getitem__Method · 0.80
__delitem__Method · 0.80

Tested by

no test coverage detected