MCPcopy
hub / github.com/microsoft/agent-lightning / get

Method get

agentlightning/store/collection/base.py:376–378  ·  view source on GitHub ↗

Get the value for the given key, or the default value if the key is not found.

(self, key: K, default: V | None = None)

Source from the content-addressed store, hash-verified

374 raise NotImplementedError()
375
376 async def get(self, key: K, default: V | None = None) -> V | None:
377 """Get the value for the given key, or the default value if the key is not found."""
378 raise NotImplementedError()
379
380 async def set(self, key: K, value: V) -> None:
381 """Set the value for the given key."""

Callers 15

__init__Method · 0.45
rolloutMethod · 0.45
debug_search_r1_agentFunction · 0.45
build_chartjsFunction · 0.45
mainFunction · 0.45
_add_arguments_for_classFunction · 0.45
_instantiate_classesFunction · 0.45
_request_json_asyncMethod · 0.45
_request_jsonMethod · 0.45
_get_pre_call_dataFunction · 0.45
_maybe_flushMethod · 0.45

Calls

no outgoing calls