Undictify

Latest version: v0.11.3

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

Scan your dependencies

Page 2 of 5

0.8.1

- Adjustments for new versions of `pylint` and `mypy`

0.8.0

For custom converters, we can now choose if they should be mandatory or optional.
Up to now, they were only optional.

This is an API-breaking change. So if you'd like to update old (<`0.8.0`) code, you need to change this:

python3
type_checked_constructor(converters={'foo': conv_foo})
dataclass
class Foo:
foo: ...


to that:
python3
type_checked_constructor(converters={'foo': optional_converter(conv_foo)})
dataclass
class Foo:
foo: ...


because the default (and only) behavior of converters was to be optional.

Now, there is a new option to use `optional_converter` instead.

0.7.1

- Improvements in the automated tests
- Fix for linter complaints

0.7.0

InitVar` support for Python 3.7 and 3.8 (thanks to pappasam)

0.6.5

- Fixed handling of optional unions

0.6.4

- Support for custom converter functions.

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.