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

Reflect dependency metadata from callables, constructors, and methods.

Wraps the module-level LRU-cached resolution functions behind a stateful, contract-bound interface, reusing bounded metadata caches across repeated inspections of the same target.

Method __init__ Initialize the ReflectDependencies instance.
Method callableSignature Inspect the callable target and categorize its parameter dependencies.
Method constructorSignature Inspect the constructor (__init__) and categorize parameter dependencies.
Method methodSignature Inspect a named method and categorize its parameter dependencies.
Class Variable __slots__ Declare the instance attribute slots reserved by this class.
Instance Variable _target The object whose dependencies are to be reflected.
def __init__(self, target: object | None = None): (source)

Initialize the ReflectDependencies instance.

Parameters
target:object | None, optionalThe object whose dependencies are to be reflected.
Returns
NoneNo return value.
def callableSignature(self) -> Signature: (source)

Inspect the callable target and categorize its parameter dependencies.

Returns
orionis.introspection.dependencies.entities.signature.SignatureContains resolved and unresolved parameter dependencies.
Raises
TypeErrorIf the target is not callable.
ValueErrorIf the target's signature cannot be inspected.
def constructorSignature(self) -> Signature: (source)

Inspect the constructor (__init__) and categorize parameter dependencies.

Returns
orionis.introspection.dependencies.entities.signature.SignatureContains resolved and unresolved parameter dependencies.
Raises
ValueErrorIf the constructor signature cannot be inspected.
def methodSignature(self, method_name: str) -> Signature: (source)

Inspect a named method and categorize its parameter dependencies.

Parameters
method_name:strName of the method to inspect.
Returns
orionis.introspection.dependencies.entities.signature.SignatureCategorized resolved and unresolved parameter dependencies.
Raises
AttributeErrorIf the target has no method with the requested name.
ValueErrorIf the method's signature cannot be inspected.
__slots__: tuple[str, ...] = (source)

Declare the instance attribute slots reserved by this class.

The object whose dependencies are to be reflected.