Cleancat

Latest version: v1.1.0

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

Scan your dependencies

Page 2 of 3

0.7.3

This release contains a minor bug fix, making the serialization of a field containing the `raw_field_name` param work as expected.

0.7.2

This release introduces a new `SQLAReference` field and adds an abstract `Reference` class that both `SQLAReference` and `MongoReference` inherit from.

0.7.1

This release includes fixes around serializing of optional fields (i.e. fields with `required=False`).

Most of the fields without a value are serialized as `None`, except for `List` (serialized as `[]`), `SortedSet` (`[]`), and `Dict` (`{}`).

0.7.0

* Added `SQLAEmbeddedReference` based on SQLAlchemy
* Introduced a generic `EmbeddedReference`. Made `MongoEmbeddedReference` and `SQLAlchemyEmbeddedReference` inherit from it.
* Updated `setup.py` with updated install and test requirements.
* Added more automated tests and switched the test runner to `pytest`.

0.6.0

* Moves Mongo-specific fields (`MongoEmbedded`, `MongoReference`, `MongoEmbeddedReference`) into a separate `cleancat.mongo` module.
* BREAKING CHANGE – these fields need to be imported directly from the new module. `from cleancat import MongoReference` will no longer work!

0.5.8

* Split the logic in `MongoEmbeddedReference`'s `clean` method into two sub-methods: `clean_new` and `clean_existing`.
* `MongoEmbeddedReference`'s `clean` now calls `Dict.clean` immediately.
* General code cleanup.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.