Autoclass

Latest version: v2.2.0

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

Scan your dependencies

Page 4 of 7

1.10.1

* Now compliant with old versions of `typing` module: `typing.Type` is not imported explicitly anymore.
* tests updated with latest version of `valid8`

1.10.0

* Updated documentation main page
* `autoargs` behaviour wrt keyword arguments changed. See usage page for details.
* `include` and `exclude` parameters now support any kind of sequence, in all decorators
* Bugfix: [Setter is called twice for default values](https://github.com/smarie/python-autoclass/issues/16)
* Bugfix: [autoprops argument name in setter is not correct](https://github.com/smarie/python-autoclass/issues/17)

1.9.2

* new annotation `autohash`
* The equality method `__eq__` generated by `autodict` is now correct
* `autodict`: fixed consistency with default values of `only_public_fields`: it was False when using the individual decorator, but True when using autoclass global decorator or the manual decoration method. Now it is True everywhere.

1.9.1

* Now compliant with valid8 2.0.0
* Fixed 13: now generated setters have default values when it was the case on the constructor.

1.9.0

* `Boolean`, `validate`, `validate_decorate` and all validators have been moved to an independent project, thus decoupling `autoclass` from the choice of validator library.

1.8.1

* Now detecting conflicts with `enforce` when annotations are not in the right order (see [12](https://github.com/smarie/python-autoclass/issues/12))
* Added tests for `on_each_` and `on_all_` and fixed corresponding bugs.

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.