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

Method get

nextpy/ai/engine/_program.py:451–453  ·  view source on GitHub ↗

Get the value of a variable by name.

(self, key, default=None)

Source from the content-addressed store, hash-verified

449 return new_program
450
451 def get(self, key, default=None):
452 """Get the value of a variable by name."""
453 return self._variables.get(key, default)
454
455 def _stream_run(self, loop, new_program):
456 """This feels a bit hacky at the moment. TODO: clean this up."""

Callers 15

_check_hashMethod · 0.45
to_jsonMethod · 0.45
loadFunction · 0.45
__str__Method · 0.45
__init__Method · 0.45
loadFunction · 0.45
_send_loopMethod · 0.45
genFunction · 0.45
geneachFunction · 0.45
selectFunction · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected