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 BootstrapCommand(BaseCommand): (source)
Known subclasses: orionis.console.commands.bootstrap.config.BootstrapConfigCommand, orionis.console.commands.bootstrap.lifespan.BootstrapLifespanCommand, orionis.console.commands.bootstrap.routes.BootstrapAiCommand, orionis.console.commands.bootstrap.routes.BootstrapApiCommand, orionis.console.commands.bootstrap.routes.BootstrapConsoleCommand, orionis.console.commands.bootstrap.routes.BootstrapWebCommand, orionis.console.commands.bootstrap.routes.BootstrapWebsocketCommand
Run component bootstrapping through native Reactor output and injection.
| Method | _execute |
Generate resources and invalidate existing compiled state if changed. |
| Method | _write |
Write one aligned resource action with a single colored status. |
| Method | bootstrap |
Enable this command's routing context. |
| Async Method | handle |
Generate resources off the event loop and report the actual result. |
| Class Variable | _action |
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. |
Generate resources and invalidate existing compiled state if changed.
| Parameters | |
app:orionis.IApplication | Application providing its configured compiled cache directory. |
| Returns | |
list[tuple[str, str]] | Completed generation and cache invalidation actions. |
orionis.console.commands.bootstrap.config.BootstrapConfigCommand, orionis.console.commands.bootstrap.lifespan.BootstrapLifespanCommandEnable this command's routing context.
| Parameters | |
app:orionis.IApplication | Configured application injected by Reactor. |
| Returns | |
list[tuple[str, str]] | Successful resource actions. |
Generate resources off the event loop and report the actual result.
| Parameters | |
app:orionis.IApplication | Configured application injected by Reactor. |
| Returns | |
int | Zero on success; one if generation or integration fails. |
orionis.console.commands.bootstrap.routes.BootstrapAiCommand, orionis.console.commands.bootstrap.routes.BootstrapApiCommand, orionis.console.commands.bootstrap.routes.BootstrapConsoleCommand, orionis.console.commands.bootstrap.routes.BootstrapWebCommand, orionis.console.commands.bootstrap.routes.BootstrapWebsocketCommandRuntime context made available to the operation and its callbacks.