Icontract

Latest version: v2.6.6

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

Scan your dependencies

Page 6 of 10

2.0.2

=====
* Specified ``require`` and ``ensure`` to use generics in order to fix typing erasure of the decorated functions

2.0.1

=====
* Fixed forgotten renamings in the Readme left from icontract 1.x

2.0.0

=====
* Removed ``repr_args`` argument to contracts since it is superseded by more versatile ``error`` argument
* Renamed contracts to follow naming used in other languages and libraries (``require``, ``ensure`` and ``invariant``)
* Improved error messages on missing arguments in the call

1.7.2

=====
* Demarcated decorator and lambda inspection in ``_represent`` submodule

1.7.1

=====
* Refactored implementation and tests into smaller modules

1.7.0

=====
* Added ``snapshot`` decorator to capture "old" values (prior to function invocation) for postconditions that verify
state transitions

Page 6 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.