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

class CacheHint(msgspec.Struct): (source)

View In Hierarchy

Describe client cache freshness without caching server-side results.

Method __post_init__ Reject cache hints with an invalid TTL or scope.
Class Variable scope Undocumented
Class Variable ttl_ms Undocumented
def __post_init__(self): (source)

Reject cache hints with an invalid TTL or scope.

Returns
NoneValidate the cache TTL and scope during initialization.
Raises
ValueErrorIf the TTL is negative or not an integer, or the scope is invalid.
scope: Literal['public', 'private'] = (source)

Undocumented

Undocumented