Gemd

Latest version: v2.1.9

Safety actively analyzes 710445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 9

0.13.0

What's New
* ValidList's can now be passed a function to call on all arguments, making it possible to mutate arguments before assignment or perform more complex validation logic.
* Using the new functionality, all `attribute` lists in Object Templates can now modify incoming arguments. This means you can assign an AttributeTemplate to the `properties`, `conditions, or `parameters` fields and the library will convert it into a tuple with default/pass-through bounds.

Fixes
* With the move to v0.13.0, several deprecated methods have been removed. This includes direct assignment of `name` and `labels` to Ingredient Runs and the initial serialization approaches (`gemd.client`).

0.12.1

This release corrects issues in the previous release.

Bugfixes
* `name` and `labels` fields on Ingredient Runs could be stale following some orders of operations. This corrects this by directly pulling the data in from an associated Ingredient Spec where possible.

0.12.0

What's New
* Following from our shift in best practices (as described in [the docs](https://github.com/CitrineInformatics/gemd-python/blob/master/CONTRIBUTING.md)), we are migrating Object constructors to conform. Specifically, we are removing the option to use positional arguments.
* The `name` and `labels` arguments to the IngredientRun constructor have been deprecated for quite some time, and so those arguments have been removed.
Fixes
* The setting of `name` and `labels` fields within IngredientRun objects has been deprecated for some time, but there were no explicit warnings being emitted. To help people migrate code, appropriate warnings have been added to the setters for those fields.

0.11.1

Fixes
* The cake demonstration code had UIDs that collided in a case-insensitive way. This has been corrected, and the tests augmented to include that scenario.
* In JSON serialization for python < 3.6, there appear to be some cases where `int`s are serialized as `float`s, which in turn caused type errors on ingest. `NominalInteger` and `UniformInteger` are now `float` tolerant so long as the value is integer.
* And we cleaned up the demonstration code while we were in there.

0.11.0

Improvements
* This release include a number of improvements to one of our pieces of demonstration code (`demo/cake`). Many more annotations and better coding and naming practice are now available throughout the example.
* We've also made it possible to change the scope of the demo, which in turn makes it possible for multiple versions of the data structures it generates to coexist without colliding keys.

0.10.0

What's New
* We've updated the guidance for contributing to reflect better practice. This includes adding type hints and not allowing positional arguments for methods that have multiple arguments.

Improvements
* The string representation of LinkByUID objects has been changed to match their field names.

Fixes
* If the `flatten` method is invoked on a BaseEntity, it now includes that object in the returned list.

Page 6 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.