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
Enhancements#
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.
See also
New Feature: Export Models as Self-contained Python Packages , a blog post on https://modelx.io
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.
Bug Fixes#
Changes#
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 whenshow_locals
isTrue
.modelx now depends on LibCST.