Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: WiringConfiguration add args excluding module or package #784

Open
rumbarum opened this issue Feb 15, 2024 · 0 comments
Open

Comments

@rumbarum
Copy link

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 rumbarum changed the title Feature Request: WiringConfiguration add args exclusion for module or package Feature Request: WiringConfiguration add args excluding module or package Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant