Tri-declarative

Latest version: v0.34.0

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

Scan your dependencies

Page 3 of 3

0.22.0

~~~~~~~~~~~~~~~~~~~

* `sort_after()` should produce an error when attempting to sort after non-existant keys

* Tweaked namespace merge in `setdefaults_path`

0.21.0

~~~~~~~~~~~~~~~~~~~

* Fix corner case in collect_namespaces where one parameter imply a value and
others imply a namespace.

* Added `setdefaults_path` helper with `__` namespace traversal.

0.20.0

~~~~~~~~~~~~~~~~~~~

* Added `assert_kwargs_not_empty` convenience function.

* Improved documentation.

0.19.0

~~~~~~~~~~~~~~~~~~~

* When making instances of a class decorated with `declarative` the declared
values are copied (shallow) before being passed to `__init__`.

* Instances will get an own copy of the declared attributes written to their
`__dict__`

Page 3 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.