Skip to main content
from intuned_runtime import attempt_store

attempt_store: Store
A key-value store that is scoped to the current attempt.

Store

class Store:
    def get(self, key: str, default: Any = None) -> Any: ...
    def set(self, key: str, value: Any) -> None: ...

Methods

get

Parameters
key
str
required
The key to retrieve the value for.
default
Any
required
The default value to return if the key is not found.
ReturnsThe value associated with the key, or default if not found.

set

Parameters
key
str
required
The key to set the value for.
value
Any
required
The value to store.