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
| Function | resolve |
Import an exported object and store it in its package namespace. |
def resolve_export(namespace:
dict[ str, object], exports: dict[ str, tuple[ str, str]], name: str) -> object:
(source)
¶
Import an exported object and store it in its package namespace.
| Parameters | |
namespace:dict[str, object] | Global namespace of the package exposing the object. |
exports:dict[str, tuple[str, str]] | Public names mapped to defining module and attribute names. |
name:str | Public attribute requested from the package. |
| Returns | |
object | Object exported by its defining module. |
| Raises | |
AttributeError | If the requested name is not part of the package exports. |