AttributeDict

class mppi.Utilities.AttributeDict.AttributeDict(**entries)[source]

Bases: object

A class to convert a nested Dictionary into an object with key-values accessibly using attribute notation (AttributeDict.attribute) instead of key notation (Dict[“key”]). This class recursively sets Dicts to objects, allowing you to recurse down nested dicts (like: AttributeDict.attr.attr)

add_entries(**entries)[source]
getAttributes()[source]

Return all the attributes of the object