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

class IReflectDependencies(ABC): (source)

Known subclasses: orionis.introspection.ReflectDependencies

View In Hierarchy

Define the contract for dependency-reflection implementations.

Subclasses must implement all abstract methods to inspect callables and extract categorized parameter dependency signatures.

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 that this class introduces no additional instance slots.
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 = (source)

Declare that this class introduces no additional instance slots.