Picodi

Latest version: v0.30.0

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

Scan your dependencies

Page 5 of 7

0.9.0

- Experimental release (all changes are under the hood, there is no public API yet)
- Add `dependency` decorator, now you can specify scope_class, even user-defined
- Add `ParentCallScope` - dependency result cached for lifetime of parent function call

0.8.0

- Clear store for singleton scope on `shutdown_resource`

0.7.1

- Fix "coroutine was never awaited" warning when closing context manager for sync function in async context

0.7.0

- Added `registry` object for managing dependencies
- Now you can override dependencies. Useful for testing and "ABC" dependencies
- Removed `make_dependency` experimental function
- Some code cleanups
- Fixed tests inconsistency (cleanup picodi resources after each test)

0.6.0

- Add `helpers` module
- Fix potential `RuntimeWarning`

0.5.0

- Switch from storing only resource deps to storing all deps
- Don't initialize unused resources
- Refactor scope resource management
- Removed dead code (detecting fastapi dependency)

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.