python-dependency-injector icon indicating copy to clipboard operation
python-dependency-injector copied to clipboard

Feature Request: WiringConfiguration add args excluding module or package

Open rumbarum opened this issue 1 year ago • 0 comments

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.

rumbarum avatar Feb 15 '24 04:02 rumbarum