maldoinc / wireup

Performant, concise, and easy-to-use dependency injection container for Python 3.8+.
https://maldoinc.github.io/wireup/
MIT License
97 stars 2 forks source link

Add an easy way to override dependencies #10

Closed maldoinc closed 10 months ago

maldoinc commented 11 months ago

Sometimes when the target method is already autowired it can be a bit difficult to substitute a service for a different implementation.

Add a way for users to override dependencies, preferrably through a ctx manager if they wish to do so.

See #7