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

View In Hierarchy

Enable native application lifespan callbacks.

Method bootstrap Enable lifecycle callbacks.
Class Variable description Create and register application lifespan callbacks..
Class Variable signature bootstrap:lifespan.

Inherited from BootstrapCommand:

Method _execute Generate resources and invalidate existing compiled state if changed.
Method _writeAction Write one aligned resource action with a single colored status.
Async Method handle Generate resources off the event loop and report the actual result.
Class Variable _action_styles Console styles assigned to bootstrap resource actions.
Class Variable context Runtime context made available to the operation and its callbacks.
Class Variable timestamps Timestamps flag used by BootstrapCommand.
def bootstrap(self, app: IApplication) -> list[tuple[str, str]]: (source)

Enable lifecycle callbacks.

Parameters
app:orionis.IApplicationApplication providing the effective bootstrap path.
Returns
list[tuple[str, str]]Completed resource actions.
description: str = (source)

Create and register application lifespan callbacks..

signature: str = (source)

bootstrap:lifespan.