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
Parse a multipart byte stream into form fields and uploaded files.
| Class | |
Parse a multipart byte stream into form fields and uploaded files. |
| Async Function | complete |
Run a blocking function in a worker thread without losing cancellation state. |
| Constant | _BYTE |
Byte values for RFC 2046 protocol characters. |
| Constant | _CHUNK |
Chunk size used by stream_parser. |
| Constant | _CLEANUP |
Failure phase shared by multipart upload cleanup operations. |
| Constant | _DEFAULT |
Default limits used by stream_parser. |
| Constant | _DELIMITER |
Delimiter invalid used by stream_parser. |
| Constant | _MAX |
Max boundary size value used by stream_parser. |
| Constant | _STATE |
State finished value used by stream_parser. |
| Constant | _STATE |
State read body value used by stream_parser. |
| Constant | _STATE |
State read headers value used by stream_parser. |
| Constant | _STATE |
Integer constants for the parser state machine. |
Run a blocking function in a worker thread without losing cancellation state.
| Parameters | |
function:collections.abc.Callable[..., T] | Function to execute in a worker thread. |
*args:object | Positional arguments passed to the function. |
| Returns | |
T | The result returned by the function. |
| Raises | |
asyncio.CancelledError | After the worker finishes, preserving the first cancellation even if further cancellations arrive while waiting for safe resource cleanup. |