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 HTTPBodyLimits(BaseEntity): (source)
Configure finite request, buffering, multipart and concurrency budgets.
| Method | __post |
Reject noninteger, boolean and nonpositive resource limits. |
| Instance Variable | max |
Maximum transport bytes consumed for one request, including framing. |
| Instance Variable | max |
Maximum bytes materialized by body(), JSON and other buffered parsers. |
| Instance Variable | max |
Maximum active HTTP requests per kernel, including response delivery. |
| Instance Variable | max |
Maximum bytes of one multipart text field before decoding. |
| Instance Variable | max |
Maximum multipart text field count. |
| Instance Variable | max |
Maximum multipart file count. |
| Instance Variable | max |
Maximum MIME header bytes per multipart part. |
| Instance Variable | max |
Budget for retained multipart field strings and in-memory file payloads. Transport buffers, object metadata and temporary copies are additional. |
| Instance Variable | max |
Maximum bytes of one multipart file or field. |
| Instance Variable | memory |
Maximum file payload bytes retained before spooling to disk. |
Inherited from BaseEntity:
| Class Method | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | get |
Describe field names, normalized types, defaults, and metadata. |
| Method | to |
Convert the dataclass instance to a recursively copied dictionary. |
| Class Variable | __slots__ |
Undocumented |
Reject noninteger, boolean and nonpositive resource limits.
| Returns | |
None | Validate limits before the HTTP kernel snapshots them. |
| Raises | |
TypeError | If a limit is not an integer or is a boolean. |
ValueError | If a limit is nonpositive, or a count is negative. |