modelx v0.18.0 (25 December 2021)#
This release introduces the following enhancements and changes.
A modelx model now internally maintains a map between input values and
references referring to the input values.
The mapping allows you to replace an object referenced by multiple references.
By making use of the mapping,
introduced for replacing a pandas object referenced in a model,
are introduced for replacing an user module.
A new version of the Spyder plugin for modelx is released
to show the internal map visually.
It adds a data tab in MxExplorer, which lists all the
objects input in the selected model, and shows
for each object referring References and the associated
DataSpace if any.
Backward Incompatible Changes#
Models saved by older versions of modelx can be opened by v0.18.0, but once they are saved, the models cannot be read by the older versions of modelx. Models saved by v0.18.0 cannot be opened by older modelx.
restore_model()are now deprecated. Use
zip_model()instead to save a model into a single file.
UserSpace.new_pandasare removed. Associated
PandasDataobjects are always hidden.
dataclientsproperty is now renamed to
BaseDataClientclass is now renamed to