Pyaddict

Latest version: v1.2.0.post1

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

Scan your dependencies

Page 1 of 2

1.2.0

What's New
- schema
- OneOf now provides a meaningful error description, such as
py
value didn't match any of the schemas at (root): oneOf:
- John is not of type <class 'int'> at name: coerce,
- 30 is not of type <class 'str'> at age: coerce


Bug Fixes
- schema
- nullable objects could cause a runtime exception

1.1.0

What's New
- schema
- You can now set constant/static values as the value in objects:
py
Object({
"staticValue": 5,
"dynamicValue": Integer()
})

- optional() now includes a flag to explicitly disallow `null`. By default, a missing key _and_ `null` are accepted.
py
Object({
"nullable": Integer().optional(), None and missing key allowed
"missingOrValid": Integer().optional(nullable = False) key can be missing but None is not allowed
})


Bug Fixes
- schema
- nullable objects caused a runtime exception

1.0.5

Schema Validation:
* FIX: enum with multiple values raised exception

1.0.4

Schema Validation:
* oneOf (7)

1.0.3

* Schema Validation
* fixed some issues with the regex validation
* added schema.expect()

1.0.2

* Schema Validation:
* String.url() (a default regex)

**Full Changelog**: https://github.com/dxstiny/pyaddict/compare/1.0.1...1.0.2

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.