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 IRouteLoader(ABC): (source)
Known subclasses: orionis.http.routes.loader.RouteLoader
Undocumented
| Method | load |
Return all compiled routes, loading them first if necessary. |
| Property | fallback |
Return the registered fallback handler, if any. |
overridden in
orionis.http.routes.loader.RouteLoaderReturn the registered fallback handler, if any.
The fallback is used when no route matches the incoming request. Accessing this property triggers route loading if it has not already occurred.
| Returns | |
tuple | None | (class, method_name) for controller-based fallbacks, (None, callable) for callable-based fallbacks, or None if no fallback has been registered, whether routes are compiled on demand or restored from cache. |