get • AI Agent SDK

get: Return the value stored for “ref“, or “None“ if unknown/expired.

get

Method

</div>

This is a method of the CallbackPayloadStoreProtocol class in the protocols module.

Return the value stored for `ref, or None` if unknown/expired.

Signature

python
def get(ref: str) -> Optional[str]

Parameters

ParamField str

No description available.

Returns

ResponseField Optional[str]

The result of the operation.

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 1623