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

Declare durable terminal failure inspection and removal.

Async Method all List persisted failures in creation order.
Async Method close Close resources owned by the repository.
Async Method find Find a persisted failure by its identifier.
Async Method forget Delete a persisted failure by its identifier.
Async Method record Persist the original payload and exception before acknowledgement.
Class Variable __slots__ Undocumented
async def all(self) -> tuple[FailedJob, ...]: (source)

List persisted failures in creation order.

Returns
tuple[FailedJob, ...]Failure records available for inspection.
async def close(self): (source)

Close resources owned by the repository.

Returns
NoneRelease repository-owned resources.
async def find(self, failed_id: str) -> FailedJob | None: (source)

Find a persisted failure by its identifier.

Parameters
failed_id:strFailure identifier.
Returns
FailedJob | NoneMatching failure, if present.
async def forget(self, failed_id: str) -> bool: (source)

Delete a persisted failure by its identifier.

Parameters
failed_id:strFailure identifier.
Returns
boolWhether a record was removed.
async def record(self, reserved: ReservedJob, connection: str, exception: BaseException) -> FailedJob: (source)

Persist the original payload and exception before acknowledgement.

Parameters
reserved:ReservedJobFailed claim, including corrupt wire data when applicable.
connection:strQueue connection name.
exception:BaseExceptionOriginal execution or deserialization failure.
Returns
FailedJobDurable failure record.