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 StdClass(IStdClass): (source)
Constructors: StdClass.fromDict(dictionary), StdClass(**kwargs)
Undocumented
| Class Method | __init |
Rebuild the reserved-names set for every subclass. |
| Class Method | from |
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 | to |
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 |
Compute the hash value of the object based on its attributes.
| Returns | |
int | Hash value computed from the object's attributes. |
Return an unambiguous string representation for debugging.
| Returns | |
str | String representation of the object with its attributes. |
Return a readable string representation of the object.
| Returns | |
str | String showing the object's attributes. |
Remove one or more attributes from the object.
| Parameters | |
*attributes:str | Names of the attributes to remove. |
| Returns | |
None | This method does not return a value. Attributes are removed in-place. |
| Raises | |
AttributeError | If any of the specified attributes do not exist. |
Convert the object's attributes to a dictionary.
| Returns | |
dict | A shallow copy of the object's attributes. |
Update the object's attributes dynamically.
| Parameters | |
**kwargs:object | Key-value pairs to update or add as attributes. |
| Returns | |
None | This method does not return a value. Attributes are updated in-place. |
| Raises | |
ValueError | If an attribute name is reserved or conflicts with a class method. |