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 Sequence: (source)

Constructor: Sequence(*entries)

View In Hierarchy

Describe cycling attributes without owning a shared counter.

Callable entries receive the factory's absolute, zero-based index. Every factory owns its position, even when sharing this specification.

Method __init__ Capture one or more detached dictionaries or index callbacks.
Method resolve Resolve attributes for a factory-owned sequence position.
Class Variable __slots__ Undocumented
Instance Variable _entries Undocumented
def __init__(self, *entries: SequenceEntry): (source)

Capture one or more detached dictionaries or index callbacks.

Parameters
*entries:dict or CallableEntries to cycle through in their supplied order.
Returns
NoneApply the described operation.
Raises
FactoryConfigurationExceptionIf no entries or an asynchronous callback is supplied.
def resolve(self, index: int) -> dict[str, Any]: (source)

Resolve attributes for a factory-owned sequence position.

Parameters
index:intNonnegative absolute index supplied by the factory.
Returns
dict of str to AnyDetached attributes for this position.
Raises
FactoryConfigurationExceptionIf the index is not a nonnegative integer.
__slots__: tuple[str, ...] = (source)

Undocumented

_entries = (source)

Undocumented