Python · Section 33
Dependency Injection
Depending on abstractions instead of concrete classes, the two ways to pass a dependency in (constructor and function injection), containers that automate wiring, the FastAPI Depends() pattern, and why all of this is what makes a class testable in isolation.
This section

