Datafiles

Latest version: v2.2.2

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

Scan your dependencies

Page 5 of 7

0.12

- Added `_exclude` parameter to `all()` and `filter()` manager methods to exclude certain objects from loading as a performance optimization.
- Fixed handling of untyped `List`/`Dict` annotations in Python 3.9.
- Fixed `ValueError` when setting an `Optional[<enum>]` to `None`.

0.11.1

- Fixed error message for `Dict` annotations lacking types.

0.11

- Added support to treat `Mapping` type annotations as dictionaries.
- Fixed handling of default values for `dataclass` attributes.
- Added `MINIMIZE_LIST_DIFFS` setting to control the semantic representation of empty lists.

0.10

- Added support for recursively matching arbitrary depth paths of files.
- Fixed `AttributeError` when attempting to load malformed YAML files.

0.9

- Fixed serialization of optional nested dataclasses with a value of `None`.
- Fixed preservation of comments on nested dataclass attributes.
- Added support for using `enum.Enum` subclasses as type annotations.

0.8.1

- Fixed loading of `Missing` nested dataclasses attributes.

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.