MCPcopy Create free account
hub / github.com/dot-agent/nextpy / pop

Method pop

nextpy/ai/engine/_variable_stack.py:22–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20 self._stack.append(variables)
21
22 def pop(self):
23 out = self._stack.pop()
24
25 # if we are popping a _prefix variable state we need to update the display
26 if "@raw_prefix" in self._stack[-1]:
27 self._executor.program.update_display()
28
29 return out
30
31 def __getitem__(self, key):
32 return self.get(key)

Callers 15

test_client_side_stateFunction · 0.45
debugFunction · 0.45
wrapperFunction · 0.45
createMethod · 0.45
get_componentMethod · 0.45
createMethod · 0.45
_process_casesMethod · 0.45
createMethod · 0.45
createMethod · 0.45
createMethod · 0.45
createMethod · 0.45
createMethod · 0.45

Calls

no outgoing calls

Tested by 13

test_client_side_stateFunction · 0.36
_eventFunction · 0.36
__exit__Method · 0.36
background_taskMethod · 0.36
test_mutable_listFunction · 0.36
test_mutable_dictFunction · 0.36
test_mutable_setFunction · 0.36
test_preprocessFunction · 0.36