Releases: python-injector/injector
Releases · python-injector/injector
0.23.0
Added:
- Allow injecting Annotated types into classes, thanks to Filip Nešťák.
- Fixed Annotated type support in
@providermethods, thanks to Satwik Agrawal. multibind()now accepts types and providers, not just instances. Thanks to Eiríkur Torfason.
Backwards incompatible:
- Changed so that the
scopeprovided tomultibind()applies to the individual bound types, within the collection. Previously the scope was applied to the collection, thelistordictinstance. Thanks to Eiríkur Torfason.