Dataclasses-jsonschema

Latest version: v2.16.0

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

Scan your dependencies

Page 4 of 6

2.7.2

Implemented 84 - Improve enum handling in `from_object`. Add missing return type annotation for `from_object`.
Implemented 83 - Support field names prefixed with a single underscore

2.6.2

Fix 82 - Fix schema caching issues when using inheritance

2.6.1

Fix 79 - Nullable type causes mypy errors

2.6.0

* Implement 57 - Add support for nullable types
* Implement 40 - Support dataclass inheritance using 'allOf'
* Fix 76 - Optional type check fails for optional union types

2.5.0

* 70 - Switch to fastjsonschema instead of pyvalico
* 46 - Add APISpec plugin
* 71 - Fix warning if `None` used as default value for readOnly fields
* 55 - Fix warning `.from_dict` used with `Any` types

2.4.0

Implemented:
* 51 - Support additional field types
* 58 - Support literal types
* 67 - Add `from_object` method
* 62 - Add support for `Final` qualified types

Fixed:
* 59 - Don't include empty definitions object in generated schema

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.