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 IFailedJobRepository(ABC): (source)
Known subclasses: orionis.queues.failed.repository.DatabaseFailedJobRepository
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 |
Find a persisted failure by its identifier.
| Parameters | |
failedstr | Failure identifier. |
| Returns | |
FailedJob | None | Matching failure, if present. |
async def record(self, reserved:
ReservedJob, connection: str, exception: BaseException) -> FailedJob:
(source)
¶
Persist the original payload and exception before acknowledgement.
| Parameters | |
reserved:ReservedJob | Failed claim, including corrupt wire data when applicable. |
connection:str | Queue connection name. |
exception:BaseException | Original execution or deserialization failure. |
| Returns | |
FailedJob | Durable failure record. |