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.
module documentation
Undocumented
| Class | _ |
Retain the immutable conversion plan for one client-owned parameter. |
| Class | _ |
Retain trusted field names and existing rule metadata for one Struct. |
| Class | |
Describe one pre-authorized method without retaining a Hub instance. |
| Function | _base |
Remove metadata wrappers when classifying trusted annotations. |
| Function | _dependency |
Extract a container-owned service type, including nullable dependencies. |
| Function | _is |
Identify types whose values may safely originate in decoded client data. |
| Function | _method |
Compile trusted reflection metadata once, rejecting ambiguous signatures. |
| Function | _schema |
Compile schema traversal and local rules through nested data structures. |
| Function | _validate |
Run existing schema rules across an already converted RPC data value. |
| Function | compile |
Build the immutable remote dispatch map exclusively from class metadata. |
| Constant | _ARGUMENTS |
Undocumented |
| Constant | _COLLECTIONS |
Undocumented |
| Constant | _INVALID |
Undocumented |
| Constant | _SCALARS |
Undocumented |
| Constant | _VALIDATION |
Undocumented |
Extract a container-owned service type, including nullable dependencies.
| Parameters | |
annotation:object | Resolved trusted annotation. |
| Returns | |
type | None | Concrete or abstract service type, or None for client data/unsupported hints. |
Compile trusted reflection metadata once, rejecting ambiguous signatures.
| Parameters | |
hub:type[Hub] | Registered hub class. |
name:str | Server-owned Python method name. |
function:FunctionType | Original decorated function. |
| Returns | |
RemoteMethod | Complete safe binding and dispatch plan. |
| Raises | |
TypeError | If annotations cannot be resolved or a signature is unsupported. |
Compile schema traversal and local rules through nested data structures.
| Parameters | |
annotation:object | Accepted client annotation, possibly optional or Annotated. |
| Returns | |
Mapping[type, _SchemaPlan] | Immutable traversal metadata, including recursive Struct references. |
Run existing schema rules across an already converted RPC data value.
| Parameters | |
value:object | Converted schema or collection with a compiled schema-containing type. |
plans:Mapping[type, _SchemaPlan] | Trusted field and rule metadata compiled during Hub registration. |
| Returns | |
None | Execute validation without re-inspecting callable metadata. |
| Raises | |
ValidationException | If a contained schema violates a framework rule. |
Build the immutable remote dispatch map exclusively from class metadata.
| Parameters | |
hub:type[Hub] | Developer-owned Hub subclass registered during application boot. |
| Returns | |
Mapping[str, RemoteMethod] | Bounded cached dispatch map; no instance or payload is retained. |
| Raises | |
TypeError | If a remote descriptor, method or annotation is unsupported. |
ValueError | If aliases conflict or a private method is marked remote. |