Gemd

Latest version: v2.1.5

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

Scan your dependencies

Page 6 of 8

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.

0.9.0

Improvements
* Some ambiguous units strings (e.g. `t`) were removed to prevent assignment of the wrong units.
* Bounds are now optional on object templates and no longer copied from the corresponding attribute template.

0.8.0

What’s New

You can now choose your preferred default scope. We've added an argument to our GEMDJson constructor so that the default scope when auto-generating ids in serialization (formerly `auto`) can suit your need.

Fixes

Following the removal of support for Python < 3.5, we still were importing enum34, which was causing some problems with the most current version of the core packages. This has been corrected.

Page 6 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.