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

class JobEnvelope(msgspec.Struct): (source)

View In Hierarchy

Carry immutable, versioned job data independently of backend state.

Method __post_init__ Reject invalid immutable execution options.
Class Variable backoff Delay policy applied before retrying a failed attempt.
Class Variable connection Configured connection used to store or dispatch the operation.
Class Variable id Identifier used to correlate or locate this protocol or storage record.
Class Variable job Registered job class or type identifier.
Class Variable max_tries Maximum number of execution attempts allowed for the job.
Class Variable payload Serialized data required to execute or restore the job.
Class Variable queue Name of the queue receiving or storing the job.
Class Variable retry_until Deadline after which the job must no longer be retried.
Class Variable timeout Maximum duration allowed for an execution attempt.
Class Variable version Version value used by JobEnvelope.
def __post_init__(self): (source)

Reject invalid immutable execution options.

Returns
NoneValidate the envelope without mutating its fields.
backoff: tuple[float, ...] = (source)

Delay policy applied before retrying a failed attempt.

connection: str = (source)

Configured connection used to store or dispatch the operation.

Identifier used to correlate or locate this protocol or storage record.

Registered job class or type identifier.

max_tries: int = (source)

Maximum number of execution attempts allowed for the job.

Serialized data required to execute or restore the job.

Name of the queue receiving or storing the job.

retry_until: float | None = (source)

Deadline after which the job must no longer be retried.

Maximum duration allowed for an execution attempt.

Version value used by JobEnvelope.