Bevy

Latest version: v2.0.2

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

Scan your dependencies

Page 3 of 4

1.3.9

1.3.8

This fixes the function provider not creating dependencies if they don't already exist. It also moves the `bevy_method` decorator to the `bevy.__init__.py` for easier access.

1.3.7

This release fixes a bug where providers didn't have their dependencies detected. It also changes the function provider to default to returning the requested function if no matching functions are found in the repo.

1.3.6

Add a context factory classmethod that handles creation of a context. The factory method can accept a context instance, which will be returned immediately. If no context instance is provided the factory will handle creating a context using the provided providers and parent. If no providers are given the function and type providers will be used.

Creating a context directly without providers will no longer set any default providers.

1.0b1

This is a complete rewrite designed to greatly simplify the implementation and rely less on magic. It no longer injects all annotated class fields, instead opting to only inject class fields with annotations that inherit from Injectable. This makes it simpler to integrate with other tools that also rely on annotated class fields. Using descriptors also greatly simplifies what needs to be done to create functionality like factories.

0.5.3

- Add a builder protocol that can be used by classes that need to build instances of other classes using the constructor
- Add labels that can be used to allow multiple instances of a type to be in the constructor repository without conflict

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.