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

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_init__ Reject boolean counts, nonpositive budgets and nonfinite timeouts.
Class Variable broadcast_concurrency Broadcast concurrency produced by field.
Class Variable client_result_timeout Client result timeout produced by field.
Class Variable invocation_timeout Invocation timeout produced by field.
Class Variable max_concurrent_invocations Max concurrent invocations produced by field.
Class Variable max_groups_per_connection Max groups per connection produced by field.
Class Variable max_message_size Max message size produced by field.
Class Variable max_pending_client_invocations Max pending client invocations produced by field.

Inherited from BaseEntity:

Class Method _cachedFieldMetadata Retrieve field definitions and normalized types cached by class.
Method __init__ Initialize declared fields and public extra attributes.
Method _dynamicAttributes Return public instance attributes that are not declared fields.
Method _validateExtraNames Validate names and storage for public extra attributes.
Method getFields Describe declared fields and, optionally, dynamic attributes.
Method toDict 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_field_metadata Cache declared fields and normalized type names for each concrete class.
def __post_init__(self): (source)

Reject boolean counts, nonpositive budgets and nonfinite timeouts.

Returns
NoneComplete configuration validation.
Raises
TypeErrorIf a budget or timeout has the wrong type.
ValueErrorIf a count is nonpositive or a timeout is not finite and positive.
broadcast_concurrency: int = (source)

Broadcast concurrency produced by field.

client_result_timeout: float = (source)

Client result timeout produced by field.

invocation_timeout: float = (source)

Invocation timeout produced by field.

max_concurrent_invocations: int = (source)

Max concurrent invocations produced by field.

max_groups_per_connection: int = (source)

Max groups per connection produced by field.

max_message_size: int = (source)

Max message size produced by field.

max_pending_client_invocations: int = (source)

Max pending client invocations produced by field.