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

Method __init__ Initialize a new ServiceProvider instance with the given application container.
Async Method boot Perform post-registration initialization tasks.
Method register Register services and components into the application container.
Instance Variable app Undocumented
def __init__(self, app: IApplication): (source)

Initialize a new ServiceProvider instance with the given application container.

Parameters
app:IApplicationThe application container instance to which this service provider will be attached.
Returns
NoneThis constructor does not return a value.
async def boot(self): (source)

Perform post-registration initialization tasks.

This asynchronous method is called after all services have been registered. Subclasses may override this method to initialize services or perform operations required at application boot time.

Returns
NoneThis method does not return a value.
def register(self): (source)

Register services and components into the application container.

This synchronous method must be implemented by subclasses to bind services, configurations, or other components to the application container. It is called during the application's service registration phase.

Note

This method must be synchronous. Asynchronous operations are not supported in this method.

Returns
NoneThis method does not return a value.
Raises
NotImplementedErrorIf the method is not overridden in a subclass.

Undocumented