Pywise

Latest version: v0.8.1

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

Scan your dependencies

Page 2 of 3

0.3.2

Bugfix: support for properly deserializing Union types that contain generics (e.g. collection types such as `List`, `Dict`, etc.). In general, the following will work now:

deserialize(Union[A[B], C[D]], x)

For `dataclass(frozen=True) class A(Generic[B])` and `dataclass(frozen=True) class C(Generic[D])`.

0.3.1

0.3.0

0.2.0

0.1.2

Includes a bug fix, removing a debugging print statement in the deserialization routine that was accidentally left in in the prior release.

0.1.1

Fixes a critical bug in `serialize` and `deserialize`. Propagate the `CustomFormat` supplied in a `serialize` & `deserialize` calls. Updated the internals in `serialization.py` to ensure that the supplied `CustomFormat` type -> (de)serializer mapping is used when the routine(s) encounter a `Mapping`, `Iterable`, `NamedTuple` or `dataclass`-deriving input.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.