ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

module documentation

Provide cache stores operations through build.

Class _MemoryCache Cancel retired expiration callbacks when clearing the memory store.
Function build Build and return a SimpleMemoryCache backend.
def build() -> SimpleMemoryCache: (source)

Build and return a SimpleMemoryCache backend.

The default NullSerializer is replaced with orionis.cache.serializers.json.MsgspecSerializer so that all stored values pass through JSON encode/decode cycles, ensuring consistent behaviour across all drivers.

Returns
aiocache.SimpleMemoryCacheConfigured aiocache in-memory backend.