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
Convert nested mutable structures to immutable snapshots and back.
| Class | |
Convert nested mutable structures to immutable snapshots and back. |
| Function | _freeze |
Resolve sequence dependencies and cache their immutable tuple snapshots. |
| Function | _mutable |
Copy graph containers and record edges that require reference updates. |
| Constant | _CONTAINER |
Container types traversed when constructing a mutable snapshot. |
| Constant | _MUTABLE |
Mutable types definitions used by freezer. |
Resolve sequence dependencies and cache their immutable tuple snapshots.
| Parameters | |
sequences:dict[int, list | tuple] | Original sequences indexed by identity. |
cache:dict[int, typing.Any] | Completed snapshots, including preallocated mapping proxies. |
| Returns | |
None | No return value. |
| Raises | |
ValueError | If a cycle consists entirely of sequences. |
Copy graph containers and record edges that require reference updates.
| Parameters | |
obj:object | Root container to traverse without recursion. |
| Returns | |
tuple[dict[int, typing.Any], list[tuple[typing.Any, typing.Any]]] | Mutable copies indexed by original identity and their pending edges. |
Container types traversed when constructing a mutable snapshot.
| Value |
|