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
| Class | |
No class docstring; 0/7 instance variable, 0/1 class variable, 0/14 constant, 15/15 methods, 1/1 static method documented |
| Function | _status |
Return the display label for a validated HTTP status. |
| Function | _validate |
Validate an HTTP status before either response format is rendered. |
| Constant | _FRAMEWORK |
Undocumented |
| Constant | _LOCALE |
Undocumented |
| Constant | _MAX |
Undocumented |
| Constant | _MIN |
Undocumented |
| Constant | _PYTHON |
Undocumented |
| Constant | _STATUS |
Undocumented |
Validate an HTTP status before either response format is rendered.
| Parameters | |
statusint | HTTPStatus | HTTP status supplied to the default error response. |
| Returns | |
int | Validated status, converting an HTTPStatus member to its value. |
| Raises | |
TypeError | If status_code is not an integer. |
ValueError | If status_code is outside the range 100 to 599. |