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.

class documentation

Facade for the cache system.

Proxies all calls to the bound ICacheManager singleton.

Usage (facade pinned at boot):

value = await Cache.get("key")
await Cache.set("key", "value", ttl=60)
repo  = Cache.store("redis")          # sync — returns CacheRepository
value = await repo.get("key")

async with Cache.lock("resource", timeout=5):
    ...
Class Method getFacadeAccessor Return the container accessor for the cache manager.

Inherited from Facade:

Async Class Method pin Pin the resolved instance on this facade class.
Async Class Method resolve Resolve the service instance bound to this facade.
Class Method unpin Clear the pinned instance from this facade class.
Class Variable _application Undocumented
Class Variable _pinned_instance Undocumented
def getFacadeAccessor(cls) -> type: (source)

Return the container accessor for the cache manager.

Returns
typeICacheManager.