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

Async cache repository backed by a configurable storage backend.

Class _Flight Retain a completed result only while its concurrent waiters exist.
Class _Resolution Mark one active resolver without retaining its result in child contexts.
Constant _FLIGHTS Flights used by repository.
Constant _MISSING Sentinel that distinguishes a missing cache key from a stored None value.
Constant _RESOLVING Context-local resolving isolated between asynchronous tasks.

Flights used by repository.

Value
WeakValueDictionary()
_MISSING = (source)

Sentinel that distinguishes a missing cache key from a stored None value.

Value
object()

Context-local resolving isolated between asynchronous tasks.

Value
ContextVar('orionis-cache-resolving',
           default=())