ORIONIS API REFERENCE

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

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
def finalize(self) -> UploadedFile | str: (source)

Return this part's content in its final form.

Returns
UploadedFile | strThe UploadedFile handle for file parts, or the decoded string for field parts.

Append chunk to this part's data buffer.

Parameters
chunk:bytesRaw bytes received from the multipart stream.
Returns
NoneAccumulates bytes in the internal buffer; no value returned.