Pydantic-changedetect

Latest version: v0.7.3

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

Scan your dependencies

Page 1 of 2

0.7.3

* Fix issues with newer version of pydantic and pyright (typing failed) by ddanier
* Add support for partially hydrated models, thanks to mathieu-gillot (see https://github.com/team23/pydantic-changedetect/pull/36)

0.7.0

* More types are not checked for equality and will not trigger `model_has_changed` to be true
- `datetime`/`date`/`time`/`timedelta`
- `list`/`set`/`tuple` and also `dict`
- `pydantic.BaseModel` instances, as pydantic supports comparing those
* You may not override checking for equality more easily using the two methods `_model_value_is_comparable_type` and `_model_value_is_actually_unchanged`. If any type is missing for you, feel free to extend the class 😉

0.6.7

* Fix issue with pylance, now "exporting" the library contents correctly
* Officially supporting Python 3.12 (`tox` tests on Python 3.12, too)

0.6.6

* Add support for new pydantic 2.7 parameters (`context` and `serialize_as_any`) to `model_dump` and `model_dump_json`

0.6.5

* Fix issue 27

0.6.3

* Fix typing issue with `__deepcopy__`

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.