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

Own the resources used to perform individual outbound requests.

The attempt context owns the lifetime of the response stream.

Async Method aclose Release this transport's resources on the owning event loop.
Method open Open a single attempt and release its response on context exit.
Class Variable __slots__ Leave storage for transport state to concrete implementations.
@abstractmethod
async def aclose(self): (source)

Release this transport's resources on the owning event loop.

Returns
NoneFinish once the transport has released its resources.
@abstractmethod
def open(self, request: PreparedRequest) -> AbstractAsyncContextManager[TransportResponse]: (source)

Open a single attempt and release its response on context exit.

Parameters
request:PreparedRequestPrepared request for this attempt.
Returns
contextlib.AbstractAsyncContextManager[TransportResponse]Context owning the response stream and its release.
__slots__: tuple = (source)

Leave storage for transport state to concrete implementations.