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 RouteListCommand(BaseCommand): (source)
Display registered HTTP routes in URI order.
| Method | __collect |
Flatten compiled method buckets and sort routes by their URI. |
| Method | __get |
Format the route handler as an importable Python name. |
| Method | __get |
Format the middleware stack attached to a route. |
| Async Method | handle |
Print all application routes as a sorted Rich table. |
| Class Variable | description |
Undocumented |
| Class Variable | signature |
Undocumented |
| Class Variable | timestamps |
Undocumented |
Flatten compiled method buckets and sort routes by their URI.
| Parameters | |
routeRouteLoader | Loader that provides the application's compiled route buckets. |
| Returns | |
list[CompiledRoute] | All registered routes sorted by path in ascending order. |
Format the route handler as an importable Python name.
| Parameters | |
route:CompiledRoute | Route whose action descriptor is displayed. |
| Returns | |
str | Qualified handler name or a dash when no action is available. |
Format the middleware stack attached to a route.
| Parameters | |
route:CompiledRoute | Route whose effective middleware stack is displayed. |
| Returns | |
str | Comma-separated middleware names or a dash when the stack is empty. |
Print all application routes as a sorted Rich table.
| Parameters | |
routeRouteLoader | Loader that provides the application's compiled route buckets. |
console:Console | Rich console used to display route information. |
| Returns | |
int | Zero when routes are displayed; one when no routes are registered. |