Carica

Latest version: v1.3.5

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

Scan your dependencies

Page 2 of 3

1.2.2

This patch fixes deserializing serialized `datetime`. TomlKit will deserialize into its own time, `tomlkit.items.DateTime`, which is then rejected by the Carica deserializer. This release fixes this issue by allowing subclasses during type checking, instead of forcing exact type matching.

1.2.1

This patch fixes the package installer.
Previously, the package simply was not installed, neither was its dependencies.

1.2.0

Allow generic SerializableDataClass field Unions
previously, due to the computational complexity and ambiguity of choosing the best candidate of a Union type hint, Unions were prohibited from being generic. This release allows generic Union hints of arbitrary depth by enforcing a 'first fit' policy instead of 'best fit'.

1.1.0

Enabled the `SerializableDataClass` prebuilt model.

`SerializableDataClass` will now inspect the type hints of its fields and intelligently type check incoming serialized objects, traversing the type hints recursively to allow for very granular typing.

1.0.2

* Added a check in `_partialModuleVariables` to ignore false positives
* Accept `datetime.datetime` as a primitive type
* Added `SerializableTimedelta` as a model extending `datetime.timedelta` as a serializable class
* Added `_fieldNames` class method to `SerializableDataClass`
* Added `_fieldItems` instance method to `SerializableDataClass`
* Update readme

1.0.1

* Added library-level version attribute: `carica.__version__`
* Fixed `SerializableDataClass` deserializer
* Fixed `SerializablePath` instancing behaviour
* Updated readme
* Fixed package version number

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.