Datafiles

Latest version: v2.3

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

Scan your dependencies

Page 7 of 8

0.5

- Added an `INDENT_YAML_BLOCKS` setting to optionally use the old serialization behavior.
- Disabled initial file creation when `settings.HOOKS_ENABLED = False` is set.

0.4.2

- Fixed a `TypeError` when converting custom types with `from __future__ import annotations` enabled.

0.4.1

- Fixed a `TypeError` when converting non-builtin attributes.

0.4

- Fixed ORM methods for datafiles with relative path patterns.
- Added plugin for `mypy` support.
- Updated YAML format to indent lists.

0.3

- Added ORM method: `all()`
- Added ORM method: `get_or_none()`.
- Added ORM method: `get_or_create()`.
- Added ORM method: `filter`.

0.2

- Added an option to automatically resave files after loading.
- Added an option to automatically reload files after saving.
- Added a registration system for custom converter classes.
- Added initial support for file inference via `auto(filename)`.

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.