Spec-classes

Latest version: v1.4.5

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

Scan your dependencies

Page 3 of 4

1.2.0

This is a minor feature release that:

- Adds explicit support for Python 3.10 (and fixes some minor inconsistencies on this version)
- Improves compatibility with `dataclasses` tooling (e.g. `replace`).
- Adds a new "compact" representation of spec-classes, and default to using it for nested spec-classes.
- Migrates the project tooling to use Poetry.

1.1.5

This is a minor release that improves the labelling of `typing` types (e.g. `typing.Any` used to be "_SpecialForm", and is now "Any").

1.1.4

This release fixes a bug whereby the do-not-copy flag on attributes were not properly respected in the constructor.

1.1.3

This a minor release that improves support for deep-copying attribute values that contain `module` types.

1.1.2

This is a minor release that:

- avoids mutating items within a container inplace even after deepcopying the entire container, since that can affect indexing.
- consolidates deepcopying logic of attribute values, and adds support for values that are instances of `ModuleType`.

1.1.1

This is a minor bugix release that fixes pickling of `KeyedSet` and `KeyedList`.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.