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

Undocumented

Class Method __init_subclass__ Rebuild the reserved-names set for every subclass.
Class Method fromDict Create a StdClass instance from a dictionary.
Method __eq__ Compare this object with another for attribute equality.
Method __hash__ Compute the hash value of the object based on its attributes.
Method __init__ Initialize attributes from keyword arguments.
Method __repr__ Return an unambiguous string representation for debugging.
Method __str__ Return a readable string representation of the object.
Method remove Remove one or more attributes from the object.
Method toDict Convert the object's attributes to a dictionary.
Method update Update the object's attributes dynamically.
Class Variable RESERVED Undocumented

Inherited from IStdClass:

Class Variable __slots__ Undocumented
def __init_subclass__(cls, **kwargs: object): (source)

Rebuild the reserved-names set for every subclass.

Parameters
**kwargs:objectKeyword arguments forwarded to the parent hook.
Returns
NoneComplete the documented operation without returning a value.
def fromDict(cls, dictionary: dict) -> StdClass: (source)

Create a StdClass instance from a dictionary.

Parameters
dictionary:dictDictionary containing attribute names and values.
Returns
StdClassA new StdClass instance with attributes set from the dictionary.
def __eq__(self, other: object) -> bool: (source)

Compare this object with another for attribute equality.

Parameters
other:objectObject to compare with.
Returns
boolTrue if both objects have the same attributes and values, otherwise False.
def __hash__(self) -> int: (source)

Compute the hash value of the object based on its attributes.

Returns
intHash value computed from the object's attributes.
def __init__(self, **kwargs: object): (source)

Initialize attributes from keyword arguments.

Parameters
**kwargs:objectArbitrary keyword arguments to set as attributes.
Returns
NoneThis method does not return a value. The object is initialized in-place.
def __repr__(self) -> str: (source)

Return an unambiguous string representation for debugging.

Returns
strString representation of the object with its attributes.
def __str__(self) -> str: (source)

Return a readable string representation of the object.

Returns
strString showing the object's attributes.
def remove(self, *attributes: str): (source)

Remove one or more attributes from the object.

Parameters
*attributes:strNames of the attributes to remove.
Returns
NoneThis method does not return a value. Attributes are removed in-place.
Raises
AttributeErrorIf any of the specified attributes do not exist.
def toDict(self) -> dict: (source)

Convert the object's attributes to a dictionary.

Returns
dictA shallow copy of the object's attributes.
def update(self, **kwargs: object): (source)

Update the object's attributes dynamically.

Parameters
**kwargs:objectKey-value pairs to update or add as attributes.
Returns
NoneThis method does not return a value. Attributes are updated in-place.
Raises
ValueErrorIf an attribute name is reserved or conflicts with a class method.

Undocumented