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 ScheduleListCommand(BaseCommand): (source)

View In Hierarchy

Display the application's registered scheduled tasks.

Method __formatValue Format one schedule value for display in the task table.
Async Method handle Display a formatted table of scheduled jobs.
Class Variable description Command description.
Class Variable signature Command signature and description.
Class Variable timestamps Indicates whether timestamps will be shown in the command output.
def __formatValue(self, value: object) -> str: (source)

Format one schedule value for display in the task table.

Parameters
value:objectValue returned by the schedule information service.
Returns
strString representation of the value or a dash when it is missing.
async def handle(self, app: IApplication, console: Console): (source)

Display a formatted table of scheduled jobs.

Retrieve scheduled tasks from the ISchedule service, register them, and print their details in a table using the rich library.

Parameters
app:orionis.IApplicationApplication instance for configuration and service resolution.
console:orionis.console.ConsoleRich Console instance for output.
Returns
NoneThis method does not return a value.
description: str = (source)

Command description.

signature: str = (source)

Command signature and description.

timestamps: bool = (source)

Indicates whether timestamps will be shown in the command output.