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 IReflectionAbstract(ABC): (source)
Known subclasses: orionis.introspection.ReflectionAbstract
Undocumented
| Method | clear |
Clear all cached reflection data. |
| Method | constructor |
Retrieve constructor dependencies for the reflected class. |
| Method | get |
Retrieve type annotations for class attributes. |
| Method | get |
Retrieve the value of a class attribute. |
| Method | get |
Aggregate all class-level attributes. |
| Method | get |
Return the direct base classes of the reflected abstract class. |
| Method | get |
Return the class type associated with this reflection instance. |
| Method | get |
Return the name of the reflected abstract class. |
| Method | get |
Retrieve the docstring for the reflected abstract class. |
| Method | get |
Retrieve dunder (double underscore) class-level attributes. |
| Method | get |
Return all dunder (double underscore) method names in the abstract class. |
| Method | get |
Retrieve the absolute file path of the reflected abstract class. |
| Method | get |
Return a dictionary of magic (dunder) class attributes. |
| Method | get |
Return all magic (dunder) methods from the abstract class. |
| Method | get |
Return all method names defined in the abstract class. |
| Method | get |
Retrieve the signature of a method in the abstract class. |
| Method | get |
Return the module name of the reflected abstract class. |
| Method | get |
Return the fully qualified name of the abstract class. |
| Method | get |
Retrieve private asynchronous method names. |
| Method | get |
Retrieve all private class-level attributes. |
| Method | get |
Return all private asynchronous class method names. |
| Method | get |
Return a list of private class methods. |
| Method | get |
Return all private synchronous class method names. |
| Method | get |
Return all private instance method names. |
| Method | get |
Retrieve all private properties from the abstract class. |
| Method | get |
Return all private asynchronous static method names. |
| Method | get |
Return a list of private static method names. |
| Method | get |
Return all private synchronous static method names. |
| Method | get |
Return all private synchronous method names. |
| Method | get |
Retrieve all property names from the abstract class. |
| Method | get |
Retrieve the docstring of a property's getter method. |
| Method | get |
Retrieve the signature of a property's getter method. |
| Method | get |
Return all protected asynchronous method names. |
| Method | get |
Retrieve all protected class-level attributes. |
| Method | get |
Return all protected asynchronous class method names. |
| Method | get |
Return a list of protected class methods. |
| Method | get |
Return all protected synchronous class method names. |
| Method | get |
Return all protected instance method names. |
| Method | get |
Retrieve all protected properties from the abstract class. |
| Method | get |
Return all protected asynchronous static method names. |
| Method | get |
Return a list of protected static method names. |
| Method | get |
Return all protected synchronous static method names. |
| Method | get |
Return all protected synchronous method names. |
| Method | get |
Return all public asynchronous method names. |
| Method | get |
Retrieve all public class-level attributes. |
| Method | get |
Return all public asynchronous class method names. |
| Method | get |
Return all public class method names. |
| Method | get |
Return all public synchronous class method names. |
| Method | get |
Return all public instance method names. |
| Method | get |
Return all public property names from the abstract class. |
| Method | get |
Return all public asynchronous static method names. |
| Method | get |
Return all public static method names. |
| Method | get |
Return all public synchronous static method names. |
| Method | get |
Return all public synchronous method names from the abstract class. |
| Method | get |
Retrieve the source code of the reflected abstract class. |
| Method | has |
Check if the class has a specific attribute. |
| Method | has |
Determine if the abstract class contains a method with the given name. |
| Method | method |
Retrieve resolved and unresolved dependencies for a method. |
| Method | remove |
Remove an attribute from the reflected abstract class. |
| Method | remove |
Remove a method from the abstract class. |
| Method | set |
Set the value of a class attribute. |
orionis.introspection.ReflectionAbstractClear all cached reflection data.
Removes all cached entries stored in the reflection instance. Forces fresh computation on subsequent method calls.
| Returns | |
None | This method does not return a value. |
orionis.introspection.ReflectionAbstractRetrieve constructor dependencies for the reflected class.
| Returns | |
Signature | Structured representation of constructor dependencies, including resolved (names and values) and unresolved (parameter names without default values or annotations). |
orionis.introspection.ReflectionAbstractRetrieve type annotations for class attributes.
| Returns | |
dict | Dictionary mapping attribute names to their annotated types. Private attribute names are normalized by removing name mangling prefixes. |
orionis.introspection.ReflectionAbstractRetrieve the value of a class attribute.
| Parameters | |
attribute:str | Name of the attribute to retrieve. |
| Returns | |
object or None | Value of the specified class attribute, or None if not found. |
| Raises | |
ValueError | If the attribute does not exist or is inaccessible. |
orionis.introspection.ReflectionAbstractAggregate all class-level attributes.
Combines public, protected, private, and dunder attributes into a single dictionary. Excludes callable objects, static/class methods, and properties.
| Returns | |
dict | Dictionary mapping attribute names to their values. |
orionis.introspection.ReflectionAbstractReturn the class type associated with this reflection instance.
| Returns | |
Type | The abstract base class type provided during initialization. |
orionis.introspection.ReflectionAbstractReturn the name of the reflected abstract class.
| Returns | |
str | The name of the abstract class provided during initialization. |
orionis.introspection.ReflectionAbstractRetrieve dunder (double underscore) class-level attributes.
| Returns | |
dict | Dictionary mapping dunder attribute names to their values. Only includes attributes that start and end with double underscores, are not callable, static methods, class methods, or properties, and are not in the excluded built-in list. |
orionis.introspection.ReflectionAbstractRetrieve the absolute file path of the reflected abstract class.
| Parameters | |
| Returns | |
str | The absolute file path containing the abstract class definition. |
| Raises | |
ValueError | If the file path cannot be retrieved due to type errors or other unexpected exceptions. |
orionis.introspection.ReflectionAbstractReturn a dictionary of magic (dunder) class attributes.
| Returns | |
dict | Dictionary mapping magic attribute names to their values. Only includes attributes that start with double underscores and are not callable, static methods, class methods, or properties. |
orionis.introspection.ReflectionAbstractRetrieve the signature of a method in the abstract class.
| Parameters | |
name:str | Name of the method to retrieve the signature for. |
| Returns | |
inspect.Signature | Signature object of the specified method. |
| Raises | |
ValueError | If the method does not exist or is not callable. |
orionis.introspection.ReflectionAbstractReturn the module name of the reflected abstract class.
| Returns | |
str | The fully qualified module name containing the abstract class. |
orionis.introspection.ReflectionAbstractReturn the fully qualified name of the abstract class.
| Returns | |
str | The module path and class name separated by a dot, such as 'module.submodule.ClassName'. |
orionis.introspection.ReflectionAbstractRetrieve private asynchronous method names.
| Parameters | |
self:ReflectionAbstract | The reflection instance. |
| Returns | |
list of str | List of private asynchronous method names. Only includes private methods that are coroutine functions. |
orionis.introspection.ReflectionAbstractRetrieve all private class-level attributes.
| Parameters | |
| Returns | |
dict | Dictionary mapping private attribute names (with name mangling removed) to their values. Only includes attributes starting with _ClassName that are not callable, static methods, class methods, or properties. |
orionis.introspection.ReflectionAbstractReturn a list of private class methods.
| Parameters | |
self:ReflectionAbstract | |
| Returns | |
list of str | List of private class method names with class name prefixes removed. |
orionis.introspection.ReflectionAbstractReturn all private synchronous class method names.
| Parameters | |
self:ReflectionAbstract | |
| Returns | |
list of str | List of private synchronous class method names. Only includes private class methods that are not coroutine functions. |
orionis.introspection.ReflectionAbstractRetrieve all private properties from the abstract class.
| Parameters | |
self:ReflectionAbstract | |
| Returns | |
list of str | List of private property names with class name prefixes removed. Only includes name-mangled properties that start with _ClassName. |
orionis.introspection.ReflectionAbstractReturn all private asynchronous static method names.
| Parameters | |
self:ReflectionAbstract | |
| Returns | |
list of str | List of private static method names that are coroutine functions. |
orionis.introspection.ReflectionAbstractReturn a list of private static method names.
| Parameters | |
self:ReflectionAbstract | |
| Returns | |
list of str | List of private static method names with class name prefixes removed. |
orionis.introspection.ReflectionAbstractReturn all private synchronous static method names.
| Parameters | |
self:ReflectionAbstract | |
| Returns | |
list of str | List of private static method names that are synchronous (not coroutine functions). |
orionis.introspection.ReflectionAbstractRetrieve all property names from the abstract class.
| Returns | |
List[str] | List of property names with name mangling prefixes removed for clarity. |
orionis.introspection.ReflectionAbstractRetrieve the docstring of a property's getter method.
| Parameters | |
name:str | The name of the property. |
| Returns | |
str or None | The docstring of the property's getter method, or None if unavailable. |
| Raises | |
ValueError | If the property does not exist or is not accessible. |
orionis.introspection.ReflectionAbstractRetrieve the signature of a property's getter method.
| Parameters | |
name:str | Name of the property to inspect. |
| Returns | |
inspect.Signature | Signature object of the property's getter method. |
| Raises | |
ValueError | If the property does not exist or is not accessible. |
orionis.introspection.ReflectionAbstractRetrieve all protected class-level attributes.
| Parameters | |
| Returns | |
dict | Dictionary mapping protected attribute names to their values. Only attributes that start with a single underscore, are not dunder, private, callable, static/class methods, or properties. |
orionis.introspection.ReflectionAbstractReturn all protected asynchronous class method names.
| Parameters | |
self:ReflectionAbstract | |
| Returns | |
list of str | List of protected asynchronous class method names. Only includes protected class methods that are coroutine functions. |
orionis.introspection.ReflectionAbstractReturn a list of protected class methods.
| Parameters | |
self:ReflectionAbstract | The reflection instance. |
| Returns | |
list of str | Names of protected class methods (not instance methods). |
orionis.introspection.ReflectionAbstractReturn all protected synchronous class method names.
| Parameters | |
self:ReflectionAbstract | |
| Returns | |
list of str | List of protected synchronous class method names. Only includes protected class methods that are not coroutine functions. |
orionis.introspection.ReflectionAbstractRetrieve all protected properties from the abstract class.
| Parameters | |
self:ReflectionAbstract | |
| Returns | |
list of str | List of protected property names. Only includes properties that start with a single underscore, are not dunder, and are not name-mangled private properties. |
orionis.introspection.ReflectionAbstractReturn all protected asynchronous static method names.
| Parameters | |
self:ReflectionAbstract | |
| Returns | |
list of str | List of protected static method names that are coroutine functions. |
orionis.introspection.ReflectionAbstractReturn a list of protected static method names.
| Parameters | |
self:ReflectionAbstract | |
| Returns | |
list of str | List of protected static method names. Only includes methods decorated with @staticmethod that start with a single underscore, are not dunder, and are not name-mangled private methods. |
orionis.introspection.ReflectionAbstractReturn all protected synchronous static method names.
| Parameters | |
self:ReflectionAbstract | |
| Returns | |
list of str | List of protected static method names that are synchronous (not coroutine functions). |
orionis.introspection.ReflectionAbstractRetrieve all public class-level attributes.
| Parameters | |
| Returns | |
dict | Dictionary mapping public attribute names to their values. Only includes attributes that do not start with underscores and are not callable, static methods, class methods, or properties. |
orionis.introspection.ReflectionAbstractReturn all public property names from the abstract class.
| Parameters | |
self:ReflectionAbstract | |
| Returns | |
list of str | List of public property names with name mangling prefixes removed. Only properties that do not start with underscores are included. |
orionis.introspection.ReflectionAbstractReturn all public asynchronous static method names.
| Parameters | |
self:ReflectionAbstract | |
| Returns | |
list of str | List of public static method names that are coroutine functions. |
orionis.introspection.ReflectionAbstractReturn all public synchronous static method names.
| Parameters | |
self:ReflectionAbstract | |
| Returns | |
list of str | List of public static method names that are synchronous (not coroutine functions). |
orionis.introspection.ReflectionAbstractRetrieve the source code of the reflected abstract class.
| Parameters | |
| Returns | |
str | The complete source code of the abstract class as a string. |
| Raises | |
ValueError | If the source code cannot be retrieved due to file system errors or other unexpected exceptions. |
orionis.introspection.ReflectionAbstractRetrieve resolved and unresolved dependencies for a method.
| Parameters | |
methodstr | Name of the method to inspect. |
| Returns | |
Signature | Structured representation of method dependencies, including resolved and unresolved dependencies. |
| Raises | |
AttributeError | If the method does not exist on the abstract class. |
orionis.introspection.ReflectionAbstractRemove an attribute from the reflected abstract class.
| Parameters | |
name:str | Name of the attribute to remove. |
| Returns | |
bool | True if the attribute was successfully removed. |
| Raises | |
ValueError | If the attribute does not exist or cannot be removed. |
orionis.introspection.ReflectionAbstractRemove a method from the abstract class.
| Parameters | |
name:str | Name of the method to remove. |
| Returns | |
bool | True if the method was successfully removed. |
| Raises | |
ValueError | If the method does not exist or cannot be removed. |
orionis.introspection.ReflectionAbstractSet the value of a class attribute.
| Parameters | |
name:str | Name of the attribute to set. Must be a valid Python identifier and not a reserved keyword. |
value:object | Value to assign to the attribute. Must not be callable. |
| Returns | |
bool | True if the attribute was successfully set. |
| Raises | |
ValueError | If the attribute name is invalid, is a Python keyword, or if the value is callable. |