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

Undocumented

Class Method getFacadeAccessor Return the container accessor key for this 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) -> str | type: (source)

Return the container accessor key for this facade.

Returns
str | typeReturn the alias or contract class used to resolve the binding.
Raises
NotImplementedErrorRaise when the subclass does not implement this method.
async def pin(cls): (source)

Pin the resolved instance on this facade class.

Returns
NoneReturn None after storing the currently resolved instance.
async def resolve(cls, *args: object, **kwargs: object) -> object: (source)

Resolve the service instance bound to this facade.

Parameters
*args:objectForward positional arguments to the container make call.
**kwargs:objectForward keyword arguments to the container make call.
Returns
objectReturn the resolved service instance from the application.
Raises
RuntimeErrorRaise when the application has not been booted.
def unpin(cls): (source)

Clear the pinned instance from this facade class.

Returns
NoneReturn None after clearing the cached pinned instance.
_application: IApplication | None = (source)

Undocumented

_pinned_instance: Any = (source)

Undocumented