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.
Undocumented
| Method | __delattr__ |
Delete an attribute from the DotDict instance. |
| Method | __getattr__ |
Retrieve a value using attribute-style access. |
| Method | __setattr__ |
Set an attribute on the DotDict instance. |
| Method | copy |
Create a deep copy of the DotDict. |
| Method | export |
Export the DotDict as a standard dictionary recursively. |
| Method | get |
Get the value for a key, returning default if the key is not found. |
| Class Variable | __slots__ |
Undocumented |
Delete an attribute from the DotDict instance.
Notes
Supports attribute-style deletion for dictionary keys.
| Parameters | |
key:str | Name of the attribute to delete. |
| Returns | |
None | This method does not return a value. |
| Raises | |
AttributeError | If the attribute does not exist in the DotDict. |
Retrieve a value using attribute-style access.
Notes
Enables attribute-style access for dictionary keys. Converts plain dicts to DotDict for consistency.
| Parameters | |
key:str | Attribute name to retrieve. |
| Returns | |
Any or None | Value associated with the key, converted to DotDict if it is a dict. Returns None if the key does not exist. |
Set an attribute on the DotDict instance.
Notes
Enables attribute-style assignment for dictionary keys. Converts plain dicts to DotDict for recursive attribute access.
| Parameters | |
key:str | Attribute name to set. |
value:Any | Value to assign. If a dict (not DotDict), it is converted to DotDict. |
| Returns | |
None | This method does not return a value. |
Create a deep copy of the DotDict.
| Returns | |
DotDict | A new DotDict instance with recursively copied contents. |
Export the DotDict as a standard dictionary recursively.
| Returns | |
dict | A dictionary where all nested DotDict instances are converted to standard dictionaries. Non-DotDict values are returned unchanged. |
Get the value for a key, returning default if the key is not found.
| Parameters | |
key:str | The key to look up in the dictionary. |
default:object or None, optional | The value to return if the key is not found. Defaults to None. |
| Returns | |
object or None | The value associated with the key, converted to DotDict if it is a dict. Returns the specified default value if the key is not present. |