SettingsAttr#

class SettingsAttr(*args)[source]#

A custom data class that holds settings for objects.

The main function of this custom class is to enforce the datatype of values that are assigned to ensure they remain consistent. For instance if obj.foo = "bar", then obj.foo = 456 will fail.