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
| Async Function | _absolute |
Build a URL from a path, prefixing the current request base URL. |
| Async Function | _request |
Return the base URL of the request currently in scope. |
| Function | _to |
Rewrite an already built URL so it uses the HTTPS scheme. |
| Constant | _ABSOLUTE |
Undocumented |
| Constant | _INSECURE |
Undocumented |
| Constant | _SCHEMELESS |
Undocumented |
| Constant | _SECURE |
Undocumented |
Build a URL from a path, prefixing the current request base URL.
| Parameters | |
app:IApplication | Application container used for service resolution. |
path:str | Absolute URL or application-relative path. |
query:dict[str, Any] | Query string values appended to the resulting URL. |
| Returns | |
str | Absolute URL when a request is in scope, otherwise the normalised path. |
Return the base URL of the request currently in scope.
| Parameters | |
app:IApplication | Application container used for service resolution. |
| Returns | |
str | Base URL without a trailing slash, or an empty string when no request is in scope. |