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