UninitializedMixin

(class from pyomo.common.config)

class pyomo.common.config.UninitializedMixin[source]

Bases: object

Mixin class to support delayed data initialization.

This mixin can be used to create a derived Config class that hides the (uninitialized) _data attribute behind a property. Any attempt to access the _data will trigger the initialization of the Config object from its _default value. Setting the _data attribute will also trigger resolution of the Config object, but without processing the _default__.

__init__()

Methods

__init__()

Member Documentation