modelx v0.22.0 (29 July 2023)#
This release introduces the following enhancements, bug fixes and changes.
To update modelx, run the following command:
>>> pip install modelx --upgrade
If you’re using Anaconda, use the
conda command instead:
>>> conda update modelx
Introduction of the Export feature#
This release introduce an experimental export feature that allows users to export modelx models as self-contained Python packages. The feature is available as an API function or a method on the Model class:
They both function the same.
An option to report local variables in error trace#
get_traceback() now has an option
show_locals, to indicate
whether the tracebacks should report the values of local variables.
It is set to
False by default.
The following methods are now deprecated and they simply call their corresponding construction methods and assign input values from the files. They no longer carry the metadata of their input files to store the data in separate files.
get_traceback()now reports local variables only when
modelx now depends on LibCST.