Pedantic

Latest version: v2.1.5

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

Scan your dependencies

Page 7 of 8

1.12.2

- Added the `frozen_type_safe_dataclass` decorator
- Added parameters to `frozen_dataclass`:
- `type_safe` with default `False`: If `True` it ensured that all fields have a value that matches the given data type at any time.
- `order` with default `False`: If `True` the comparison methods are generated for the class.

1.12.1

- Fix link in `README.md`
- update dependencies in `requirements.txt`
- fix some typos in docstrings and comments
- make some private methods public
- minor code cleanups

1.12.0

- Add decorator `frozen_dataclass` which adds the methods `copy_with()` and `validate_types()` to the often used `dataclass(frozen=True)`.

1.11.4

- Added remarks to `README.md` concerning code compilation
- Exclude lines to fix test coverage

1.11.3

- Fix `NameError: name 'Docstring' is not defined`
- Fix type hint of `raw_doc()`
- Fix `create_pdoc.sh`

1.11.2

- Remove the dependency [docstring-parser](https://github.com/rr-/docstring_parser) dependency and make it optional

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.