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
Configure finite per-connection RPC budgets and broadcast concurrency.
Stream lifetimes are unlimited unless their invoke envelope supplies a timeout. Ordinary invocations use invocation_timeout; client-result calls use client_result_timeout. Neither limits connection lifetime.
| Method | __post |
Reject boolean counts, nonpositive budgets and nonfinite timeouts. |
| Class Variable | broadcast |
Broadcast concurrency produced by field. |
| Class Variable | client |
Client result timeout produced by field. |
| Class Variable | invocation |
Invocation timeout produced by field. |
| Class Variable | max |
Max concurrent invocations produced by field. |
| Class Variable | max |
Max groups per connection produced by field. |
| Class Variable | max |
Max message size produced by field. |
| Class Variable | max |
Max pending client invocations produced by field. |
Inherited from BaseEntity:
| Class Method | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | __init__ |
Initialize declared fields and public extra attributes. |
| Method | _dynamic |
Return public instance attributes that are not declared fields. |
| Method | _validate |
Validate names and storage for public extra attributes. |
| Method | get |
Describe declared fields and, optionally, dynamic attributes. |
| Method | to |
Return a recursively copied dictionary of declared and extra values. |
| Class Variable | __slots__ |
Declare that this class introduces no additional instance slots. |
| Class Variable | _orionis |
Cache declared fields and normalized type names for each concrete class. |
Reject boolean counts, nonpositive budgets and nonfinite timeouts.
| Returns | |
None | Complete configuration validation. |
| Raises | |
TypeError | If a budget or timeout has the wrong type. |
ValueError | If a count is nonpositive or a timeout is not finite and positive. |