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 IMultipartPart(ABC): (source)
Known subclasses: orionis.http.payload.part.MultipartPart
Define the contract for a single part within a multipart HTTP request body.
Implementations parse MIME headers, accumulate raw bytes, and finalize the part into either a decoded string or an UploadedFile handle.
| Method | finalize |
Return this part's content in its final form. |
| Method | write |
Append chunk to this part's data buffer. |
| Class Variable | __slots__ |
Undocumented |
overridden in
orionis.http.payload.part.MultipartPartReturn this part's content in its final form.
| Returns | |
UploadedFile | str | The UploadedFile handle for file parts, or the decoded string for field parts. |