Repository navigation
This release removes generative design and design space sampling from the SDK, following their removal from the Citrine Platform. It also fixes Ingestion.status() for error types that the SDK did not recognize, and moves the SDK onto gemd 3.1.
Improvements
- Citrine Python requires gemd 3.1, with the range
gemd>=3.1,<4. Upgrade gemd before you install this release in an environment pinned to gemd 3.0. #1078
Fixes
Ingestion.status()raisedValueErrorwhen an ingestion failed with an error type missing from the SDK. This release adds eleven platform error types toIngestionErrorType, such asEMPTY_FILEandMISSING_ROW_IDENTIFIER. An unrecognized type maps toIngestionErrorType.UNKNOWN_ERROR, and the error keeps itsmsg. #1070, #1071
Deprecated
- The Citrine Platform has removed generative design and design space sampling, and this release removes them from the SDK.
Project.generative_design_executionsand a design space'ssample_design_space_executionsraise the newcitrine.exceptions.FeatureRemovedError. The constructor of a related class, such asGenerativeDesignInputorSampleDesignSpaceInput, raises the same error. The class and enumeration names import with aDeprecationWarninguntil version 6.0.0, which deletes them. #1074 ProcessTemplate.allowed_namesis deprecated, following gemd 3.1. The constructor accepts the argument, but gemd warns and discards the value, and the SDK leaves the field out of its requests to the platform. To build GEM Table ingredient columns, useTableConfig.add_all_ingredients, which reads ingredient names from your process specs. #1078
Full Changelog: v5.2.0...v5.5.0