Search posts, tags, users, and pages
Vlad Shulcz
Python does not need a dependency injection container by default. For small applications, direct constructor calls are usually the best option: repo = UserRepository(settings.database_url) email = Ema
I’m interested in how other Python teams draw this boundary.
Do you keep service wiring as plain factories, use framework dependencies, or prefer an external container once the graph grows?
Vlad Shulcz
I’m interested in how other Python teams draw this boundary.
Do you keep service wiring as plain factories, use framework dependencies, or prefer an external container once the graph grows?