Skip to main content

SettingsReference

String subclass which references a current settings value. It's treated as the value in memory but serializes to a settings.NAME attribute reference.

Attributes

AttributeTypeDescription
setting_namestringThe name of the configuration setting being referenced, used to facilitate serialization back to a settings.NAME attribute.

Constructor

Signature

def SettingsReference(
value: Any,
setting_name: str
) - > null

Parameters

NameTypeDescription
valueAnyThe actual value to be held by the string subclass.
setting_namestrThe name of the settings attribute to reference during serialization.