In this release of Citrine Python, we are happy to introduce new methods to support exciting features coming in the web application of the Citrine Platform. With both predictor versioning and the ability to update data on an entire branch exposed in this release, you will be able to automate updating branch data and operations on specific versions of your predictors. In addition, we've added a few more improvements to make Citrine Python better documented, easier to debug, and more consistent across classes. As always, we are continuously working of fixes and improvements to keep all our users running smoothly.
What's New
* You can now see the version of a Predictor via the `version` attribute and also interact with specific versions of your Predictors by using the `version` argument in `PredictorCollection` methods (e.g. `project.predictors.get()`). Note that updating a Predictor on platform will always overwrite any existing Draft. If validation is successful, the Predictor will be incremented to the latest version. 785, 796
* In line with upcoming UI releases, you now have the capability to update the data on you Branch to automate the process of pointing all predictors on your branch to the latest version(s) of your data source(s) with one call: `project.branches.update_data(branch=my_branch)`. 793, 797
Improvements
* We've enhanced our documentation to describe interactions with Experiment Data Sources and updating Branches to the latest data sources. 792, 798, 799
* The `status_detail` field for Predictors and Design Spaces now has a more detailed structure, with individual message strings separated into list elements. 791
* The method for creating a quick default predictor now includes `create_default` to replace the `auto_configure` method. The behavior is the same, but the method is now much more consistent with other areas of our platform (e.g. Design Spaces). 794
Fixes
* Minor internal fixes. 795
**Full Changelog**: https://github.com/CitrineInformatics/citrine-python/compare/v1.44.1...v1.51.1