Autoclass

Latest version: v2.2.0

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

Scan your dependencies

Page 1 of 7

2.2.0

- `autoclass` now provides an `autofields` argument to apply `pyfields.autofields` automatically before applying autoclass. Fixes [38](https://github.com/smarie/python-autoclass/issues/38)
- `autoclass` now removes private fields from the generated autodict representation by default. Fixes [37](https://github.com/smarie/python-autoclass/issues/37)

2.1.5 - python 2 packaging improvements

- setup improvements: set the universal wheel flag to 1, and cleaned up the setup.py. Fixes [36](https://github.com/smarie/python-autoclass/issues/36)

2.1.4

- `setup.py` improvements: now including `py.typed`, excluding `tests` folder, and using `zip_safe=False`

2.1.3

- Fixed DeprecationWarning. Fixed [35](https://github.com/smarie/python-autoclass/issues/35)

2.1.2

Fixed bug happening when `pyfields` is not installed. Fixed [33](https://github.com/smarie/python-autoclass/issues/33).

2.1.1

Added `pyproject.toml`.

2.1.0

**Features**

- Added independent `autoeq`, supported in `autoclass` and automatically activated when `autodict=False`. Fixed [32](https://github.com/smarie/python-autoclass/issues/32).

**Bugfixes**

- Fixed `autorepr` when `only_known_fields` is `False`: now property names are correctly used instead of the private names.

- Fixed `autodict`'s generated `__eq__` method: when the other object is a dictionary a direct comparison is now done before trying super.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.