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
class ReflectDependencies(IReflectDependencies): (source)
Constructor: ReflectDependencies(target)
Reflect dependency metadata from callables, constructors, and methods.
Wraps the module-level LRU-cached resolution functions behind a stateful, contract-bound interface, preserving zero overhead on repeated inspections of the same target.
| Method | __init__ |
Initialize the ReflectDependencies instance. |
| Method | callable |
Inspect the callable target and categorize its parameter dependencies. |
| Method | constructor |
Inspect the constructor (__init__) and categorize parameter dependencies. |
| Method | method |
Inspect a named method and categorize its parameter dependencies. |
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | _target |
Undocumented |
Initialize the ReflectDependencies instance.
| Parameters | |
target:Any | None, optional | The object whose dependencies are to be reflected. |
| Returns | |
None | This method does not return a value. |
overrides
orionis.introspection.dependencies.contracts.reflection.IReflectDependencies.callableSignatureInspect the callable target and categorize its parameter dependencies.
| Returns | |
Signature | Contains resolved and unresolved parameter dependencies. |
| Raises | |
TypeError | If the target is not callable. |
ValueError | If the target's signature cannot be inspected. |
overrides
orionis.introspection.dependencies.contracts.reflection.IReflectDependencies.constructorSignatureInspect the constructor (__init__) and categorize parameter dependencies.
| Returns | |
Signature | Contains resolved and unresolved parameter dependencies. |
| Raises | |
ValueError | If the constructor signature cannot be inspected. |
overrides
orionis.introspection.dependencies.contracts.reflection.IReflectDependencies.methodSignatureInspect a named method and categorize its parameter dependencies.
| Parameters | |
methodstr | Name of the method to inspect. |
| Returns | |
Signature | Categorized resolved and unresolved parameter dependencies. |
| Raises | |
ValueError | If the method does not exist or its signature cannot be inspected. |