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 IJobSerializer(ABC): (source)
Known subclasses: orionis.queues.serializer.JobSerializer
Declare explicit state serialization and trusted job registration.
| Method | decode |
Restore a registered job without constructing dependencies. |
| Method | decode |
Validate a stored envelope before execution. |
| Method | encode |
Serialize only the job's declared persistent fields. |
| Method | encode |
Encode a versioned immutable envelope. |
| Method | register |
Register an application-trusted concrete job class. |
| Class Variable | __slots__ |
Undocumented |
overridden in
orionis.queues.serializer.JobSerializerValidate a stored envelope before execution.
| Parameters | |
payload:bytes | Untrusted JSON wire data. |
| Returns | |
JobEnvelope | Validated immutable execution data. |
overridden in
orionis.queues.serializer.JobSerializerEncode a versioned immutable envelope.
| Parameters | |
envelope:JobEnvelope | Immutable data to persist. |
| Returns | |
bytes | The JSON wire representation. |