Pure-interface

Latest version: v8.0.2

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

Scan your dependencies

Page 3 of 5

4.0.2

Fixes setting attributes on interface only implementation

4.0.1

Fixed adaption bug when interface_only option used.

4.0.0

Re-wrote signature checking to support positional only and keyword only arguments.
Deprecated functions `get_interface_property_names` and `get_interface_properties_and_attribute_names` have been removed.
`PureInterface` class has been renamed to `Interface` to remove the alliteration. PureInterface class still exists but is deprecated.
`Concrete` class has been removed as it turned out to be unnecessary. Just put `object` AFTER the interface class.
Fixed cases where properties were being evaluated during class construction.

3.5.3

Bugfix release for 3.5 fixing 59, 63, 65, 74

3.5.2

Fixes 58 - detect descriptors on subclasses.

3.5.0

Added `pure_interface.dataclass` decorator for python 3.7+.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.