class documentation

class KeyPolicy(str, Enum): (source)

View In Hierarchy

Defines the eviction policy for a key in the execution store.

  • PERSIST: The key is stored persistently and will never be automatically removed. It must be explicitly deleted.
  • EVICT: The key is considered cacheable and may be removed automatically if a TTL is set, or manually via clear_cache.
Constant EVICT Undocumented
Constant PERSIST Undocumented

Undocumented

Value
'evict'

Undocumented

Value
'persist'