Dataclass-factory

Latest version: v2.16

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

Scan your dependencies

Page 1 of 4

2.13

* Added `NamedTuple` support
* Many standard types now can be parsed out of the box
* Fix aliases to generic types
* Fix parsing dataclasses which also implement collection protocol

2.12

* Fix reusing Schema for several types

2.11

* Add serializer for Literal
* Add raising a clear error at creating a serializer if the class instance won't have `__dict__` or will have `__slots__` and `__dict__` at the same time

2.10.2

* Fix name conversion if omit_default enabled
* Fix name conversion when parsing unknown fields

2.10.1

* NewType support
* Fix TypedDict on Python 3.9 + typing_extensions
* Fix using default when structure flattening

2.10

* per field validators

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.