Clean-ioc

Latest version: v1.2.0

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

Scan your dependencies

Page 1 of 5

1.1.0

-----
Decorators can now be functions or generators
Pre-configurations can now be functions or generators

1.0.0

-----
First proper release
Scopes can now spawn new scopes.
Pre configrations api has been improved
Scoped lifespan now acts as a singleton in a container
Container can now be used as a context manager the same way scopes can.
Container can now how scoped teardowns and generator factories on sigletons the same way scopes can.

0.18.1

-----
FIX: pre_configurations failed wehen run in async mode.

0.18.0

-----
container.register(ServiceType, ImplementationType) now allows resolving from implementation types
container.resolve(ServiceType) and container.resolve(ImplementationType) both work for resolving.

0.17.0

-----
improvements to how generic type args are mapped in generic dependencies
export fast api extension dependencies as already wrapped in Depends
Remove dynamic name generation when regestering subclasses
more node filters
more registration filters
improve typing for nodes

0.16.1

-----
make Tag class destructurable for filter functions

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.