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 MaintenanceModeCommand(BaseCommand): (source)
Known subclasses: orionis.console.commands.support.down.DownCommand, orionis.console.commands.support.up.UpCommand
Write a runtime-visible maintenance state for HTTP workers.
| Method | handle |
Atomically update the state periodically read by HTTP workers. |
| Class Variable | state |
Undocumented |
| Class Variable | status |
Undocumented |
| Class Variable | timestamps |
Undocumented |
Atomically update the state periodically read by HTTP workers.
| Parameters | |
app:IApplication | Application providing the framework storage directory. |
console:Console | Console used to report the state change. |
| Returns | |
int | Zero when the state is written; one when the write fails. |
overridden in
orionis.console.commands.support.down.DownCommand, orionis.console.commands.support.up.UpCommandUndocumented
overridden in
orionis.console.commands.support.down.DownCommand, orionis.console.commands.support.up.UpCommandUndocumented