dishka
dishka copied to clipboard
Cute DI framework with agreeable API and everything you need
We need to ensure that all required dependencies can be actually created on startup. * [x] all nodes of graph are reachable #85 * [ ] all context varibles are...
special marker to provide element of a list or mapping
__Idea:__ I suggest adding the ability to disable lazy dependency loading for the 'provide' function or globally for the entire 'Provider' __How is it supposed to work?__ When creating a...
Add LazyProxy and put it instead of requested class when cycle is detected
Allow to set alias when entering scope. That will allow to change logic for specific route without moving it to container ```python with container(aliases={A: A1}) as request_container: request_container.get(A) # this...
Do not allow to override dependency provider unless it is explicitly declared