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 | _disk |
Resolve the public URL of a file stored on a disk. |
Resolve the public URL of a file stored on a disk.
| Parameters | |
app:IApplication | Application container used to resolve the storage manager. |
path:str | Disk-relative file path (e.g. 'css/app.css'). |
disk:str | None | Disk name to read from, or None for the public disk. |
| Returns | |
str | Publicly accessible URL for the file. |
| Raises | |
UnsupportedStorageOperationException | If the resolved disk does not expose public URLs. |