Generics

Latest version: v7.0.0

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

Scan your dependencies

Page 1 of 4

7.0.0

Features

* drop delegate feature [245](https://github.com/proofit404/generics/issues/245) dbde995


BREAKING CHANGES

* `delegate` decorator was removed.

6.0.0

Features

* implement [delegate](https://github.com/delegate) decorator [#236](https://github.com/proofit404/generics/issues/236) 0b81538


BREAKING CHANGES

* `delegate` method decorator replaces `delegated`
class decorator.

5.0.0

Features

* deny class methods on [private](https://github.com/private) classes [#238](https://github.com/proofit404/generics/issues/238) 2be2561


BREAKING CHANGES

* It is used to instantiate classes. We use
`dependencies` library and stories state normalization for such
things. I would like not to work on same thing twice. In addition I
personally would never use factory method pattern. The worst part, it
broke `delegated` decorator semantic since it planned to be used with
instances only. Class methods on delegated classes does not make
sense.

4.0.0

Code Refactoring

* drop abc.Meta subtyping [57](https://github.com/proofit404/generics/issues/57) 1ea34e5


Features

* deny class attributes [57](https://github.com/proofit404/generics/issues/57) ee512f7


BREAKING CHANGES

* Inheritance of any kind is not allowed any more. If
you are using `abc.Meta`, we suggest to use `typing.Protocol` instead.

3.9.0

Features

* deny keyword arguments in constructor [213](https://github.com/proofit404/generics/issues/213) 5d0c4e1

3.8.0

Features

* protect instances returned from methods [233](https://github.com/proofit404/generics/issues/233) 20d1703

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.