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
Undocumented
| Method | __new__ |
Create a new class and enforce final class inheritance rules. |
def __new__(metacls:
type, name: str, bases: tuple[ type, ...], namespace: dict[ str, object]) -> type:
(source)
¶
Create a new class and enforce final class inheritance rules.
| Parameters | |
metacls:type | The metaclass type. |
name:str | The name of the new class. |
bases:tuple of type | The base classes of the new class. |
namespace:dict of str to object | The namespace containing class attributes. |
| Returns | |
type | The newly created class object. |
| Raises | |
TypeError | If attempting to inherit from a final class. |