UninitializedMixin
(class from pyomo.common.config)
- class pyomo.common.config.UninitializedMixin[source]
Bases:
objectMixin class to support delayed data initialization.
This mixin can be used to create a derived Config class that hides the (uninitialized)
_dataattribute behind a property. Any attempt to access the_datawill trigger the initialization of the Config object from its_defaultvalue. Setting the_dataattribute will also trigger resolution of the Config object, but without processing the_default__.- __init__()
Methods
__init__()Member Documentation