python-dependency-injector
python-dependency-injector copied to clipboard
Feature Request: WiringConfiguration add args excluding module or package
I am using D.I. over all my python project for centralized instance provider. So, I prefer set wiring over project root dir. So far now no problem at all. As D.I. read code one more time, most module is fine, but the other has problem with this behavior as it does not expect running twice.
Currently possible answer is writing module or path explicitly or wrapping code with function to prevent run automatically. But it is getting hard as project get bigger.