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.
module documentation
Undocumented
| Class | |
No class docstring; 0/18 instance variable, 0/1 constant, 27/27 methods documented |
| Async Function | _execute |
Execute a scheduled command signature through the Reactor facade. |
async def _execute_scheduled_command(signature:
str, args: list[ str] | None = None) -> int:
(source)
¶
Execute a scheduled command signature through the Reactor facade.
Notes
Used as the callable registered with APScheduler jobs instead of a bound instance method. Persistent job stores (e.g. the "database" job store) serialize the job's callable as a textual reference (module:function); a bound method forces APScheduler to also pickle the owning instance (self) to restore it, which drags in the whole dependency graph (Reactor/Application) and fails on unpicklable objects such as a mappingproxy. Resolving the reactor through the Reactor facade avoids that entirely.
| Parameters | |
signature:str | The command signature to execute. |
args:list of str, optional | Arguments to pass to the command. Defaults to an empty list. |
| Returns | |
int | The result of the reactor call, typically an exit code or status. |